diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-10 20:12:55 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-10 20:12:55 -0600 |
commit | 5faf9807968ce9f7f548474afdc31029e57103dc (patch) | |
tree | e0c2fc55cfd9908e503897304beed8c718921f2c /config | |
parent | 8f04e87b466e79fa2086d69d9c49f5af89b68cb9 (diff) |
Añade método update al controlador de companies
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 | ||||
-rw-r--r-- | config/storage.yml | 4 |
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 |