This commit is contained in:
Vokhmin Alexey V 2013-06-26 16:07:55 +04:00
parent 999f99a75a
commit e775d3b29d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class Api::V1::PlatformsController < Api::V1::BaseController
skip_before_filter :authenticate_user!, :only => :allowed skip_before_filter :authenticate_user!, :only => :allowed
skip_before_filter :authenticate_user!, :only => [:show, :platforms_for_build, :members] if APP_CONFIG['anonymous_access'] skip_before_filter :authenticate_user!, :only => [:show, :platforms_for_build, :members] if APP_CONFIG['anonymous_access']
load_and_authorize_resource :exept => :allowed load_and_authorize_resource :except => :allowed
def allowed def allowed
url = params[:url] || '' url = params[:url] || ''