Commit 2052581f authored by Scott Hampton's avatar Scott Hampton

Fixing a syntax warning

Accidentally added a comma to the end of a list in ruby.
parent 3e60798e
...@@ -12,7 +12,7 @@ module EnvironmentsHelper ...@@ -12,7 +12,7 @@ module EnvironmentsHelper
"endpoint" => folder_project_environments_path(@project, @folder, format: :json), "endpoint" => folder_project_environments_path(@project, @folder, format: :json),
"folder-name" => @folder, "folder-name" => @folder,
"can-create-deployment" => can?(current_user, :create_deployment, @project).to_s, "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 end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment