diff options
Diffstat (limited to 'app/helpers/services_helper.rb')
-rw-r--r-- | app/helpers/services_helper.rb | 4 |
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 |