config/routes.rb in maglevcms-1.1.7 vs config/routes.rb in maglevcms-1.2.0
- old
+ new
@@ -3,9 +3,10 @@
# rubocop:disable Metrics/BlockLength
Maglev::Engine.routes.draw do
# API
constraints format: :json do
namespace :api do
+ root to: proc { [200, {}, ['{}']] }
resource :site, only: :show
resources :pages do
resources :clones, controller: :page_clones, only: :create
end
resources :assets