Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
09702f8de261
Commit
f15466bd
authored
May 05, 2017
by
James Lopez
Browse files
refactor code based on feedback
parent
e47403c09263
Changes
2
Show whitespace changes
Inline
Side-by-side
app/controllers/admin/services_controller.rb
View file @
09702f8d
app/services/projects/propagate_service_template.rb
View file @
09702f8d
...
@@ -11,7 +11,7 @@ def initialize(template)
...
@@ -11,7 +11,7 @@ def initialize(template)
end
end
def
propagate
def
propagate
return
unless
@template
&
.
active
return
unless
@template
&
.
active
?
Rails
.
logger
.
info
(
"Propagating services for template
#{
@template
.
id
}
"
)
Rails
.
logger
.
info
(
"Propagating services for template
#{
@template
.
id
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment