Fixed: logout_link
This commit is contained in:
parent
cf479a144d
commit
f175505c43
|
@ -79,6 +79,7 @@ ActiveAdmin.setup do |config|
|
||||||
# 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