Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Swap order if prepend_before_filters

Otherwise authorize is called before authenticate
  • Loading branch information...
commit 32719d88bb5d6e65a0327b14c245a82b6f11f093 1 parent dd2f1a5
@jomz jomz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/radiant/admin_controller.rb
View
2  app/controllers/radiant/admin_controller.rb
@@ -3,7 +3,7 @@ class AdminController < ::Radiant::ApplicationController
protect_from_forgery
# from login system
- prepend_before_filter :authenticate, :authorize
+ prepend_before_filter :authorize, :authenticate
before_filter :set_current_user
before_filter :set_user_locale
Please sign in to comment.
Something went wrong with that request. Please try again.