diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-14 02:17:04 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-14 02:17:04 +0200 |
| commit | 88ebeaac7fcf140cbab489e841bf9c197f84c4ea (patch) | |
| tree | ff97b50deebdaa44eb6a40d8550e912457c2fb8f /config | |
| parent | c693069db6ddce4582209a1cf60a564f6947bd56 (diff) | |
Make revisions locale aware
Diffstat (limited to 'config')
| -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 826bb18..8e5ff23 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -58,7 +58,7 @@ Cccms::Application.routes.draw do | |||
| 58 | resources :translations, controller: 'page_translations', | 58 | resources :translations, controller: 'page_translations', |
| 59 | param: :translation_locale, | 59 | param: :translation_locale, |
| 60 | constraints: { translation_locale: /en/ }, | 60 | constraints: { translation_locale: /en/ }, |
| 61 | only: [:index, :show, :edit, :update, :destroy] do | 61 | only: [:show, :edit, :update, :destroy] do |
| 62 | member do | 62 | member do |
| 63 | put :autosave | 63 | put :autosave |
| 64 | end | 64 | end |
