Separation of RSS/API auth actions.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-07-09 08:56:07 +00:00
parent 01d34d65d9
commit 93c2b92a4b
13 changed files with 70 additions and 22 deletions
@@ -19,7 +19,7 @@ class IssueRelationsController < ApplicationController
before_filter :find_issue, :find_project_from_association, :authorize, :only => [:index, :create]
before_filter :find_relation, :except => [:index, :create]
accept_key_auth :index, :show, :create, :destroy
accept_api_auth :index, :show, :create, :destroy
def index
@relations = @issue.relations