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 | |
| 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')
| -rw-r--r-- | config/locales/ca.yml | 2 | ||||
| -rw-r--r-- | config/locales/en.yml | 2 | ||||
| -rw-r--r-- | config/routes.rb | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/config/locales/ca.yml b/config/locales/ca.yml index a394caa..b9f9b7c 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -108,9 +108,11 @@ ca: title: Etiquetes new: Etiqueta nova new-action: nova + update: Reanomena l'etiqueta none: Encara no hi ha cap etiqueta. Pots crear-ne una fent click create-success: Etiqueta creada correctament + update-success: S'ha canviat el nom de l'etiqueta correctament destroy-success: Etiqueta esborrada correctament things: diff --git a/config/locales/en.yml b/config/locales/en.yml index 9cef5f8..e720a0c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -107,10 +107,12 @@ en: tags: title: Tags new: New tag + update: Rename tag new-action: new none: You have not created any tags. You can do so by clicking create-success: Tag was successfully created + update-success: Tag was successfully updated destroy-success: Tag was successfully deleted things: 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 |
