diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-05 12:23:38 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-05 12:23:38 -0400 |
commit | fc59c45d58124c4fc23d62ad2ed65cbfd6cb3563 (patch) | |
tree | 69f2ac4aaf43599641a395c6f936e717ff3f5d02 /app/controllers/ci/projects_controller.rb | |
parent | 8a78c4ea06c7bd3a4c6a0ea9943891327b90cd35 (diff) | |
download | gitlab-ce-rs-remove-ci-disable.tar.gz |
Remove the option to disable CIrs-remove-ci-disable
This option only existed to ease the CI-to-CE/EE migration process.
This commit partially reverts 8b05abe816b0c681ac218096b294311dd04fde8b
Diffstat (limited to 'app/controllers/ci/projects_controller.rb')
-rw-r--r-- | app/controllers/ci/projects_controller.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/controllers/ci/projects_controller.rb b/app/controllers/ci/projects_controller.rb index e8788955eba..82fb14c4276 100644 --- a/app/controllers/ci/projects_controller.rb +++ b/app/controllers/ci/projects_controller.rb @@ -3,17 +3,13 @@ module Ci before_action :authenticate_user!, except: [:build, :badge, :show] before_action :authenticate_public_page!, only: :show before_action :project, only: [:build, :show, :badge, :toggle_shared_runners, :dumped_yaml] - before_action :authorize_access_project!, except: [:build, :badge, :show, :new, :disabled] + before_action :authorize_access_project!, except: [:build, :badge, :show, :new] before_action :authorize_manage_project!, only: [:toggle_shared_runners, :dumped_yaml] before_action :authenticate_token!, only: [:build] before_action :no_cache, only: [:badge] - skip_before_action :check_enable_flag!, only: [:disabled] protect_from_forgery except: :build - layout 'ci/project', except: [:index, :disabled] - - def disabled - end + layout 'ci/project', except: [:index] def show @ref = params[:ref] |