summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-10 19:21:00 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-10 19:21:00 -0600
commit8f04e87b466e79fa2086d69d9c49f5af89b68cb9 (patch)
tree4c779a2801b7359c9cb94da1492a9087f6788d75 /config
parentf39235d865412d75625779a557a6c51736798dfa (diff)
Añade CompaniesController
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1728bcc..b74623a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,6 +9,7 @@ Rails.application.routes.draw do
post '/login', to: 'sessions#create'
delete '/logout', to: 'sessions#destroy'
get '/account', to: 'user_accounts#show'
+ resources :companies, only: %i[index show create]
resources :user_accounts, only: %i[create]
resources :refresh_tokens, only: %i[create]
end