Merged r10893 into 2.1-stable (#12472).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-11-30 08:58:26 +00:00
parent 905ed3aa75
commit 6c2eec59d8
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class RolesController < ApplicationController
before_filter :require_admin_or_api_request, :only => :index
before_filter :find_role, :only => [:edit, :update, :destroy]
accept_api_auth :index
accept_api_auth :index, :show
def index
respond_to do |format|