From e775d3b29d371aabc38509138eb2b545bb4d4424 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Wed, 26 Jun 2013 16:07:55 +0400 Subject: [PATCH] #192: misprint --- app/controllers/api/v1/platforms_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/platforms_controller.rb b/app/controllers/api/v1/platforms_controller.rb index 54c881343..7618a03d6 100644 --- a/app/controllers/api/v1/platforms_controller.rb +++ b/app/controllers/api/v1/platforms_controller.rb @@ -4,7 +4,7 @@ class Api::V1::PlatformsController < Api::V1::BaseController skip_before_filter :authenticate_user!, :only => :allowed 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 url = params[:url] || ''