templates/routes.rb in chr-0.4.15 vs templates/routes.rb in chr-0.4.17
- old
+ new
@@ -5,25 +5,25 @@
#-------------------------------------------#
# Admin
#-------------------------------------------#
- devise_for :admins,
+ devise_for :admin_users,
path: 'admin',
controllers: {
passwords: 'admin/devise_overrides/passwords',
sessions: 'admin/devise_overrides/sessions'
}
namespace :admin do
- get '/' => 'base#index'
+ get '/' => 'base#index'
get '/bootstrap.json' => 'base#bootstrap_data'
# files
- resources :assets, controller: 'assets' # Loft::Asset
+ resources :assets, controller: 'assets' # Loft::Asset
# settings
- resources :admins, controller: 'admins' # Ants::Admin
+ resources :admin_users, controller: 'admin_users' # Ants::Admin
resources :redirects, controller: 'redirects' # Ants::Redirect
end
#-------------------------------------------#