remove duplicate before_filter
This commit is contained in:
parent
c3907bef59
commit
252d3a0c9d
|
@ -1,5 +1,4 @@
|
||||||
class HooksController < ApplicationController
|
class HooksController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
layout "project"
|
layout "project"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class IssuesController < ApplicationController
|
class IssuesController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
before_filter :module_enabled
|
before_filter :module_enabled
|
||||||
before_filter :issue, only: [:edit, :update, :destroy, :show]
|
before_filter :issue, only: [:edit, :update, :destroy, :show]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class LabelsController < ApplicationController
|
class LabelsController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
before_filter :module_enabled
|
before_filter :module_enabled
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class MergeRequestsController < ApplicationController
|
class MergeRequestsController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
before_filter :module_enabled
|
before_filter :module_enabled
|
||||||
before_filter :merge_request, only: [:edit, :update, :destroy, :show, :commits, :diffs, :automerge, :automerge_check, :raw]
|
before_filter :merge_request, only: [:edit, :update, :destroy, :show, :commits, :diffs, :automerge, :automerge_check, :raw]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class MilestonesController < ApplicationController
|
class MilestonesController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
before_filter :module_enabled
|
before_filter :module_enabled
|
||||||
before_filter :milestone, only: [:edit, :update, :destroy, :show]
|
before_filter :milestone, only: [:edit, :update, :destroy, :show]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
class SnippetsController < ApplicationController
|
class SnippetsController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
|
||||||
before_filter :project
|
before_filter :project
|
||||||
before_filter :snippet, only: [:show, :edit, :destroy, :update, :raw]
|
before_filter :snippet, only: [:show, :edit, :destroy, :update, :raw]
|
||||||
layout "project"
|
layout "project"
|
||||||
|
|
Loading…
Reference in a new issue