config/routes.rb in maglevcms-1.1.5 vs config/routes.rb in maglevcms-1.1.6
- old
+ new
@@ -40,10 +40,10 @@
end
end
# Editor + Preview
get 'editor', to: 'editor#show', as: :base_editor
- get 'editor/:locale/(*something)', to: 'editor#show', as: :editor
+ get 'editor/:locale/(*path)', to: 'editor#show', as: :editor
get 'leave_editor', to: 'editor#destroy', as: :leave_editor
get 'preview/(*path)', to: 'page_preview#index',
defaults: { path: 'index', rendering_mode: :editor },
constraints: Maglev::PreviewConstraint.new,
as: :site_preview