Use before_filter for new 'quoted' action.

pull/100/head
Christian Rijke 12 years ago
parent 33359d00b1
commit 18afbd5ae0
  1. 2
      app/controllers/issues_controller.rb

@ -20,7 +20,7 @@ class IssuesController < ApplicationController
menu_item :view_all_issues, :only => [:all]
default_search_scope :issues
before_filter :find_issue, :only => [:show, :edit, :update]
before_filter :find_issue, :only => [:show, :edit, :update, :quoted]
before_filter :find_issues, :only => [:bulk_edit, :bulk_update, :move, :perform_move, :destroy]
before_filter :check_project_uniqueness, :only => [:move, :perform_move]
before_filter :find_project, :only => [:new, :create]

Loading…
Cancel
Save