如果没有登录,我的activeadmin登录页面将重定向到设计登录,如果设计用户注销,则还会注销
Meanz它取决于设计登录
配置/ routes.rb中
devise_for :admin_users, ActiveAdmin::Devise.config
ActiveAdmin.routes(self)
在控制台中会发生这种情况
Started GET "/admin" for 127.0.0.1 at 2017-03-15 16:24:19 +0500
Processing by Admin::DashboardController#index as HTML
Completed 401 Unauthorized in 6ms (ActiveRecord: 0.0ms)