diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-21 17:07:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-21 17:07:18 +0000 |
commit | 07aa3c55bdc72a7ab3565c5903a4560b6785aac5 (patch) | |
tree | 76bc2e808f42389512284541f45d4ffa3e16c673 /app/controllers/boards_controller.rb | |
parent | 739e11702a810b0a84959679a634cf72f75815e6 (diff) | |
download | redmine-07aa3c55bdc72a7ab3565c5903a4560b6785aac5.tar.gz redmine-07aa3c55bdc72a7ab3565c5903a4560b6785aac5.zip |
Contextual quick search (#3263).
Eg. when viewing issues, the quick search will search issues only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2943 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/boards_controller.rb')
-rw-r--r-- | app/controllers/boards_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index eaac14e5b..436398d1c 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class BoardsController < ApplicationController + default_search_scope :messages before_filter :find_project, :authorize helper :messages |