Fixed: logout_link

This commit is contained in:
Vokhmin Alexey V 2014-04-12 00:46:00 +04:00
parent cf479a144d
commit f175505c43
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ ActiveAdmin.setup do |config|
# To load a javascript file:
# config.register_javascript 'my_javascript.js'
config.logout_link_path = :destroy_user_session_path
config.logout_link_path = :destroy_user_session_path
config.logout_link_method = :delete
end
# Block admin access to non-admin-users.