summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-02-08 12:53:35 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-02-08 12:53:35 +0000
commit6b99848be3b444d015519a9a0b4ac9fa76cdd8e1 (patch)
tree1025523a32a09ebffc527280604f24aae120ee26 /app/views/projects/environments/index.html.haml
parentacb939d7e9009b178d29fbcd4b286dadec547acb (diff)
downloadgitlab-ce-6b99848be3b444d015519a9a0b4ac9fa76cdd8e1.tar.gz
Move permission check of manual actions of deployments
Diffstat (limited to 'app/views/projects/environments/index.html.haml')
-rw-r--r--app/views/projects/environments/index.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index d66de7ab698..99cbbc11acd 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -2,7 +2,6 @@
- page_title _("Environments")
#environments-list-view{ data: { environments_data: environments_list_data,
- "can-create-deployment" => can?(current_user, :create_deployment, @project).to_s,
"can-read-environment" => can?(current_user, :read_environment, @project).to_s,
"can-create-environment" => can?(current_user, :create_environment, @project).to_s,
"new-environment-path" => new_project_environment_path(@project),