config/routes.rb in chaltron-1.1.6 vs config/routes.rb in chaltron-1.1.7
- old
+ new
@@ -1,15 +1,18 @@
Rails.application.routes.draw do
devise_for :users, controllers: {
- omniauth_callbacks: 'chaltron/omniauth_callbacks',
- sessions: 'chaltron/sessions'
+ omniauth_callbacks: 'chaltron/omniauth_callbacks'
}
resources :users, controller: 'chaltron/users' do
collection do
get 'self_show'
get 'self_edit'
patch 'self_update'
+ end
+ member do
+ get 'enable'
+ get 'disable'
end
end
resources :logs, controller: 'chaltron/logs', only: [:index, :show]