[#465] remove old before_action
This commit is contained in:
parent
751c820d80
commit
f53a6c0e2f
|
@ -3,7 +3,7 @@ class Projects::IssuesController < Projects::BaseController
|
|||
skip_before_action :authenticate_user!, only: [:index, :show] if APP_CONFIG['anonymous_access']
|
||||
before_action :load_issue, only: %i(show edit update destroy)
|
||||
before_action :load_and_authorize_label, only: %i(create_label update_label destroy_label)
|
||||
before_action :find_collaborators, only: %i(new create show search_collaborators)
|
||||
before_action :find_collaborators, only: :search_collaborators
|
||||
|
||||
layout false, only: [:update, :search_collaborators]
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ class Projects::PullRequestsController < Projects::BaseController
|
|||
|
||||
before_action :load_issue, except: %i(index autocomplete_to_project new create)
|
||||
before_action :load_pull, except: %i(index autocomplete_to_project new create)
|
||||
before_action :find_collaborators, only: %i(new create show)
|
||||
|
||||
def new
|
||||
to_project = find_destination_project(false)
|
||||
|
|
Loading…
Reference in New Issue