Commit 36bf0b67 authored by Takuya Noguchi's avatar Takuya Noguchi Committed by Rémy Coutable

Remove Ci::ApplicationController

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 516d869e
...@@ -82,6 +82,7 @@ v 8.13.0 (unreleased) ...@@ -82,6 +82,7 @@ v 8.13.0 (unreleased)
- Retouch environments list and deployments list - Retouch environments list and deployments list
- Add Container Registry on/off status to Admin Area !6638 (the-undefined) - Add Container Registry on/off status to Admin Area !6638 (the-undefined)
- Grouped pipeline dropdown is a scrollable container - Grouped pipeline dropdown is a scrollable container
- Cleanup Ci::ApplicationController. !6757 (Takuya Noguchi)
- Fix a typo in doc/api/labels.md - Fix a typo in doc/api/labels.md
v 8.12.5 (unreleased) v 8.12.5 (unreleased)
......
module Ci
class ApplicationController < ::ApplicationController
def self.railtie_helpers_paths
"app/helpers/ci"
end
end
end
module Ci module Ci
class LintsController < ApplicationController class LintsController < ::ApplicationController
before_action :authenticate_user! before_action :authenticate_user!
def show def show
......
module Ci module Ci
class ProjectsController < Ci::ApplicationController class ProjectsController < ::ApplicationController
before_action :project before_action :project
before_action :no_cache, only: [:badge] before_action :no_cache, only: [:badge]
before_action :authorize_read_project!, except: [:badge, :index] before_action :authorize_read_project!, except: [:badge, :index]
......
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