From 2918437f34a9c9413f298d01b98caca5cf106812 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 16 May 2011 10:19:27 -0700 Subject: [PATCH] Refactor: audit and remove unknown actions --- app/controllers/projects_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 133a18cb..3bd12a67 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -16,8 +16,8 @@ class ProjectsController < ApplicationController menu_item :roadmap, :only => :roadmap menu_item :settings, :only => :settings - before_filter :find_project, :except => [ :index, :list, :new, :create, :copy ] - before_filter :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy] + before_filter :find_project, :except => [ :index, :new, :create, :copy ] + before_filter :authorize, :except => [ :index, :new, :create, :copy, :archive, :unarchive, :destroy] before_filter :authorize_global, :only => [:new, :create] before_filter :require_admin, :only => [ :copy, :archive, :unarchive, :destroy ] accept_key_auth :index, :show, :create, :update, :destroy