config/routes.rb in maglevcms-1.1.3 vs config/routes.rb in maglevcms-1.1.4
- old
+ new
@@ -2,10 +2,10 @@
# rubocop:disable Metrics/BlockLength
Maglev::Engine.routes.draw do
# API
constraints format: :json do
- namespace 'api' do
+ namespace :api do
resource :site, only: :show
resources :pages do
resources :clones, controller: :page_clones, only: :create
end
resources :assets