diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-20 13:59:15 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-20 13:59:15 +0100 |
| commit | ccf588845a6e595d1c9b2726a05eddd34bc92488 (patch) | |
| tree | 80ff56c17f5723ae8fff4f164bd0466df42ca348 /config/routes.rb | |
| parent | 37d4967780f5b3dd06bb05337149811d7d7f8788 (diff) | |
| download | operum-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.rb | 2 |
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 |
