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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes.rb') 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 -- cgit v1.2.3