Fixed: logout_link
This commit is contained in:
parent
cf479a144d
commit
f175505c43
|
@ -78,7 +78,8 @@ ActiveAdmin.setup do |config|
|
||||||
# To load a javascript file:
|
# To load a javascript file:
|
||||||
# config.register_javascript 'my_javascript.js'
|
# 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
|
end
|
||||||
|
|
||||||
# Block admin access to non-admin-users.
|
# Block admin access to non-admin-users.
|
||||||
|
|
Loading…
Reference in New Issue