From 5faf9807968ce9f7f548474afdc31029e57103dc Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 10 Mar 2023 20:12:55 -0600 Subject: Añade método update al controlador de companies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 2 +- config/storage.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config') 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 -- cgit v1.2.3