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

@ -79,6 +79,7 @@ ActiveAdmin.setup do |config|
# config.register_javascript 'my_javascript.js'
config.logout_link_path = :destroy_user_session_path
config.logout_link_method = :delete
end
# Block admin access to non-admin-users.