diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-01-11 19:36:31 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-01-11 19:47:19 +0300 |
commit | 2052581f5a7fa1c848b8142973016e2cc680335f (patch) | |
tree | f74805cb07fb6fc17ec578eba6b0365358e2297d /app/helpers/environments_helper.rb | |
parent | 3e60798e110764cd06a2966c3be8e048b2b9019c (diff) |
Fixing a syntax warning
Accidentally added a comma to the end of a list in ruby.
Diffstat (limited to 'app/helpers/environments_helper.rb')
-rw-r--r-- | app/helpers/environments_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb index dca36ac6db1..b3935ae350d 100644 --- a/app/helpers/environments_helper.rb +++ b/app/helpers/environments_helper.rb @@ -12,7 +12,7 @@ module EnvironmentsHelper "endpoint" => folder_project_environments_path(@project, @folder, format: :json), "folder-name" => @folder, "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s, - "can-read-environment" => can?(current_user, :read_environment, @project).to_s, + "can-read-environment" => can?(current_user, :read_environment, @project).to_s } end |