summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-10 20:12:55 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-10 20:12:55 -0600
commit5faf9807968ce9f7f548474afdc31029e57103dc (patch)
treee0c2fc55cfd9908e503897304beed8c718921f2c /config
parent8f04e87b466e79fa2086d69d9c49f5af89b68cb9 (diff)
Añade método update al controlador de companies
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
-rw-r--r--config/storage.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b74623a..0237992 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,7 +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 :companies, only: %i[index show create update]
resources :user_accounts, only: %i[create]
resources :refresh_tokens, only: %i[create]
end
diff --git a/config/storage.yml b/config/storage.yml
index 077b15d..4df6bf7 100644
--- a/config/storage.yml
+++ b/config/storage.yml
@@ -1,7 +1,7 @@
local:
service: Disk
- #root: <%= Rails.root.join("storage") %>
+ root: ./storage
test:
service: Disk
- root: <%= Rails.root.join("tmp/storage") %> \ No newline at end of file
+ root: ./tmp/storage \ No newline at end of file