From 252d3a0c9d84cef8d939c2c444f8763079eded1e Mon Sep 17 00:00:00 2001 From: Cyril Date: Tue, 25 Sep 2012 22:32:20 +0200 Subject: [PATCH] remove duplicate before_filter --- app/controllers/hooks_controller.rb | 1 - app/controllers/issues_controller.rb | 1 - app/controllers/labels_controller.rb | 1 - app/controllers/merge_requests_controller.rb | 1 - app/controllers/milestones_controller.rb | 1 - app/controllers/snippets_controller.rb | 1 - 6 files changed, 6 deletions(-) diff --git a/app/controllers/hooks_controller.rb b/app/controllers/hooks_controller.rb index c81e6b05c..4359e9966 100644 --- a/app/controllers/hooks_controller.rb +++ b/app/controllers/hooks_controller.rb @@ -1,5 +1,4 @@ class HooksController < ApplicationController - before_filter :authenticate_user! before_filter :project layout "project" diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 1d78a6d9b..ceeee0096 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -1,5 +1,4 @@ class IssuesController < ApplicationController - before_filter :authenticate_user! before_filter :project before_filter :module_enabled before_filter :issue, only: [:edit, :update, :destroy, :show] diff --git a/app/controllers/labels_controller.rb b/app/controllers/labels_controller.rb index e703f8229..189d8d986 100644 --- a/app/controllers/labels_controller.rb +++ b/app/controllers/labels_controller.rb @@ -1,5 +1,4 @@ class LabelsController < ApplicationController - before_filter :authenticate_user! before_filter :project before_filter :module_enabled diff --git a/app/controllers/merge_requests_controller.rb b/app/controllers/merge_requests_controller.rb index 187bb407b..1d0da43f7 100644 --- a/app/controllers/merge_requests_controller.rb +++ b/app/controllers/merge_requests_controller.rb @@ -1,5 +1,4 @@ class MergeRequestsController < ApplicationController - before_filter :authenticate_user! before_filter :project before_filter :module_enabled before_filter :merge_request, only: [:edit, :update, :destroy, :show, :commits, :diffs, :automerge, :automerge_check, :raw] diff --git a/app/controllers/milestones_controller.rb b/app/controllers/milestones_controller.rb index 10f089f13..e8dbc8e49 100644 --- a/app/controllers/milestones_controller.rb +++ b/app/controllers/milestones_controller.rb @@ -1,5 +1,4 @@ class MilestonesController < ApplicationController - before_filter :authenticate_user! before_filter :project before_filter :module_enabled before_filter :milestone, only: [:edit, :update, :destroy, :show] diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb index f852e4258..b00c92836 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -1,5 +1,4 @@ class SnippetsController < ApplicationController - before_filter :authenticate_user! before_filter :project before_filter :snippet, only: [:show, :edit, :destroy, :update, :raw] layout "project" -- 2.11.0