summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
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