From: Eric Davis Date: Thu, 19 Aug 2010 04:34:20 +0000 (+0000) Subject: Merged r3947 from trunk. X-Git-Tag: 1.0.1~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1a9f81fc6d129700e58c3038f717afe73cafc01;p=redmine.git Merged r3947 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3997 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 239c23e71..a0264bc56 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -21,8 +21,8 @@ class IssuesController < ApplicationController before_filter :find_issue, :only => [:show, :edit, :update] before_filter :find_issues, :only => [:bulk_edit, :move, :perform_move, :destroy] - before_filter :find_project, :only => [:new, :create, :update_form, :preview] - before_filter :authorize, :except => [:index, :changes, :preview, :context_menu] + before_filter :find_project, :only => [:new, :create, :update_form] + before_filter :authorize, :except => [:index, :changes, :context_menu] before_filter :find_optional_project, :only => [:index, :changes] before_filter :check_for_default_issue_status, :only => [:new, :create] before_filter :build_new_issue_from_params, :only => [:new, :create]