Skip to content
Snippets Groups Projects
Commit 66a8f3d4 authored by Travis Miller's avatar Travis Miller
Browse files

Rename conflicting private method in PagesDomain model

parent 064eb397
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,9 +16,9 @@ class PagesDomain < ActiveRecord::Base
key: Gitlab::Application.secrets.db_key_base,
algorithm: 'aes-256-cbc'
 
after_create :update
after_save :update
after_destroy :update
after_create :update_daemon
after_save :update_daemon
after_destroy :update_daemon
 
def to_param
domain
Loading
Loading
@@ -80,7 +80,7 @@ class PagesDomain < ActiveRecord::Base
 
private
 
def update
def update_daemon
::Projects::UpdatePagesConfigurationService.new(project).execute
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment