Renamed back accounts controller & modified auth validations

This commit is contained in:
Sergei Tsõganov 2022-06-14 11:14:27 +03:00
parent 9f6c628453
commit a44ac5359d
4 changed files with 13 additions and 14 deletions

View file

@ -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'