config/precedence_routes.rb in scrivito_sdk-0.65.2 vs config/precedence_routes.rb in scrivito_sdk-0.66.0.rc1

- old
+ new

@@ -1,7 +1,7 @@ Rails.application.routes.draw do - mount Scrivito::SdkEngine, at: "/", as: "scrivito_ui" + mount Scrivito::SdkEngine, at: '/', as: :scrivito_engine end Scrivito::SdkEngine.routes.draw do resources :objs, controller: 'scrivito/objs', path: '__scrivito/objs', only: [:show, :create, :update, :destroy], defaults: {format: :json} do @@ -12,21 +12,22 @@ member do get :widget get :widget_class_selection get :widget_modification + get :conflicting_workspaces + get :is_outdated post :copy post :duplicate put :revert put :restore put :mark_resolved put :destroy_widget put :revert_widget put :restore_widget - put :conflict_warnings end end resources :tasks, controller: 'scrivito/tasks', path: '__scrivito/tasks', only: [:show], defaults: {format: :json} @@ -51,11 +52,12 @@ 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/page_details/:id' => 'scrivito/cms_dispatch#page_details' - get '/__scrivito/resource_details/:resource_id' => 'scrivito/cms_dispatch#resource_details' + get '__scrivito/resource_details/:resource_id' => 'scrivito/cms_dispatch#resource_details' + get '__scrivito/to_binary' => 'scrivito/binary_redirect#to_binary', as: :binary - get 'scrivito', to: 'scrivito/ui#index', as: 'scrivito_ui' + get 'scrivito', to: 'scrivito/ui#index' get 'scrivito/*application_path', to: 'scrivito/ui#index', format: false end