mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
Moved switch user method to accounts
This commit is contained in:
parent
6c9fb2b025
commit
de5872fb40
5 changed files with 26 additions and 23 deletions
|
@ -83,6 +83,9 @@ Rails.application.routes.draw do
|
|||
post 'update_auto_reload_balance'
|
||||
get 'disable_auto_reload_balance'
|
||||
end
|
||||
member do
|
||||
put 'switch_user'
|
||||
end
|
||||
end
|
||||
resources :invoices, only: %i[index show] do
|
||||
collection do
|
||||
|
@ -117,7 +120,6 @@ Rails.application.routes.draw do
|
|||
resources :auth, only: %i[index] do
|
||||
collection do
|
||||
post '/tara_callback', to: 'auth#tara_callback'
|
||||
put '/switch_user', to: 'auth#switch_user'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue