OSDN Git Service

Allow key authentication for Boards. #6132
authorEric Davis <edavis@littlestreamsoftware.com>
Mon, 16 Aug 2010 23:39:27 +0000 (23:39 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Mon, 16 Aug 2010 23:39:27 +0000 (23:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3942 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/boards_controller.rb

index 541fefa..fa82218 100644 (file)
@@ -18,6 +18,7 @@
 class BoardsController < ApplicationController
   default_search_scope :messages
   before_filter :find_project, :find_board_if_available, :authorize
+  accept_key_auth :index, :show
 
   helper :messages
   include MessagesHelper