From ccf588845a6e595d1c9b2726a05eddd34bc92488 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 20 Mar 2024 13:59:15 +0100 Subject: tags: added a way to update tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's useful to just rename tags which have quite some references that you don't want to nuke. Signed-off-by: Miquel Sabaté Solà --- 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 1e5eedb..fe9ee96 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,7 +12,7 @@ Rails.application.routes.draw do resource :exports, only: %i[new show] end - resources :tags, only: %i[index new create destroy] + resources :tags resources :things, except: %i[index] do resources :comments, only: %i[create update destroy] end -- cgit v1.2.3