summaryrefslogtreecommitdiff
path: root/app/helpers/services_helper.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-07-12 17:00:49 -0300
committerFelipe Artur <felipefac@gmail.com>2016-07-19 20:59:00 -0300
commitede048b930b2ceb89013793d878524eb20248d1f (patch)
tree4650debc2eaefa36fef4636efc60cdb60ae47fa5 /app/helpers/services_helper.rb
parent8bd520d70e035cd67d19b7962911ae9c31d1ff3d (diff)
downloadgitlab-ce-ede048b930b2ceb89013793d878524eb20248d1f.tar.gz
Add project service documentation and update integration documentation
Diffstat (limited to 'app/helpers/services_helper.rb')
-rw-r--r--app/helpers/services_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/services_helper.rb b/app/helpers/services_helper.rb
index 98753ab2c93..5d0f6e67c0c 100644
--- a/app/helpers/services_helper.rb
+++ b/app/helpers/services_helper.rb
@@ -2,7 +2,7 @@ module ServicesHelper
def service_event_description(event)
case event
when "push"
- "Webhook will triggered by a push to the repository"
+ "Webhook will be triggered by a push to the repository"
when "tag_push"
"Webhook will be triggered when a new tag is pushed to the repository"
when "note"
@@ -19,7 +19,7 @@ module ServicesHelper
end
def service_event_field_name(event)
- event = event.pluralize if %w(merge_request issue).include?(event)
+ event = event.pluralize if %w[merge_request issue].include?(event)
"#{event}_events"
end
end