diff --git a/config/routes.rb b/config/routes.rb index c15e6a0f..901ff57f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,11 +2,16 @@ # temporary direct routes to images for migration audit resources :attachments, only: [ :show ] resources :media_files, only: [ :show ] - namespace :images do + namespace :assets do resources :primary_assets, only: [ :show ] resources :gallery_assets, only: [ :show ] resources :rich_texts, only: [ :show ] end + namespace :images do + resources :primary_images, only: [ :show ] + resources :gallery_images, only: [ :show ] + resources :rich_texts, only: [ :show ] + end resources :images, only: [ :show ] # mount Ckeditor::Engine, at: '/admin/ckeditor', as: 'ckeditor'