diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-01 08:42:09 +0200 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-01 08:42:09 +0200 |
commit | 34c1c8a3b14ab3b29fbde97532c89404d9573a1d (patch) | |
tree | fa5daadff4327fe4cc534fa43d4f91bc59b2367a /app | |
parent | 1b72256fa14e65256d78347f81b289d43c44e991 (diff) | |
download | gitlab-ce-34c1c8a3b14ab3b29fbde97532c89404d9573a1d.tar.gz |
Minor fixes in the Env API endpointszj-env-external-url
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/projects/environments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb index 1f5c7506212..58678f96879 100644 --- a/app/controllers/projects/environments_controller.rb +++ b/app/controllers/projects/environments_controller.rb @@ -2,7 +2,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController layout 'project' before_action :authorize_read_environment! before_action :authorize_create_environment!, only: [:new, :create] - before_action :authorize_update_environment!, only: [:edit, :destroy] + before_action :authorize_update_environment!, only: [:edit, :update, :destroy] before_action :environment, only: [:show, :edit, :update, :destroy] def index |