aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-20 13:59:15 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-20 13:59:15 +0100
commitccf588845a6e595d1c9b2726a05eddd34bc92488 (patch)
tree80ff56c17f5723ae8fff4f164bd0466df42ca348 /config/routes.rb
parent37d4967780f5b3dd06bb05337149811d7d7f8788 (diff)
downloadoperum-ccf588845a6e595d1c9b2726a05eddd34bc92488.tar.gz
operum-ccf588845a6e595d1c9b2726a05eddd34bc92488.zip
tags: added a way to update tags
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à <msabate@suse.com>
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
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