config/cms_routes.rb in scrivito_sdk-0.18.1 vs config/cms_routes.rb in scrivito_sdk-0.30.0.rc1

- old
+ new

@@ -1,7 +1,7 @@ Rails.application.routes.draw do - get '/' => 'scrivito/cms_dispatch#index', as: 'cms_root' + get '/' => 'scrivito/cms_dispatch#index', as: :scrivito_root get '__scrivito/render_widget/:id/show_widget/:widget_id' => 'scrivito/cms_dispatch#show_widget' get '__scrivito/render_widget/:id/widget_details/:widget_id' => 'scrivito/cms_dispatch#widget_details' get '/__scrivito/details_page/:resource_id' => 'scrivito/cms_dispatch#details_page' @@ -12,9 +12,9 @@ as: 'cms_id', via: :all match '/*permalink', to: 'scrivito/cms_dispatch#index', - as: 'cms_permalink', + as: :scrivito_permalink, format: false, via: :all end