comparison app/controllers/.svn/text-base/boards_controller.rb.svn-base @ 507:0c939c159af4 redmine-1.2

Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author Chris Cannam
date Thu, 14 Jul 2011 10:32:19 +0100
parents 1d32c0a0efbf
children
comparison
equal deleted inserted replaced
441:cbce1fd3b1b7 507:0c939c159af4
1 # redMine - project management software 1 # Redmine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang 2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 # 3 #
4 # This program is free software; you can redistribute it and/or 4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License 5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2 6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version. 7 # of the License, or (at your option) any later version.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 class BoardsController < ApplicationController 18 class BoardsController < ApplicationController
19 default_search_scope :messages 19 default_search_scope :messages
20 before_filter :find_project, :find_board_if_available, :authorize 20 before_filter :find_project, :find_board_if_available, :authorize
21 accept_key_auth :index, :show 21 accept_rss_auth :index, :show
22 22
23 helper :messages 23 helper :messages
24 include MessagesHelper 24 include MessagesHelper
25 helper :sort 25 helper :sort
26 include SortHelper 26 include SortHelper