mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
Renamed back accounts controller & modified auth validations
This commit is contained in:
parent
9f6c628453
commit
a44ac5359d
4 changed files with 13 additions and 14 deletions
|
@ -75,9 +75,9 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resource :account, controller: :account, only: %i[index update] do
|
||||
resource :accounts, only: %i[index update] do
|
||||
collection do
|
||||
get '/', to: 'account#index'
|
||||
get '/', to: 'accounts#index'
|
||||
get 'balance'
|
||||
get 'details'
|
||||
post 'update_auto_reload_balance'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue