diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index b0c276c..ff9a773 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,7 +5,7 @@ Rails.application.routes.draw do # Defines the root path route ("/") # root "articles#index" - scope module: 'api' do - resources :accounts, only: [:create] + namespace :api do + resources :user_accounts, only: %i[show create] end end |