config/precedence_routes.rb in scrivito_sdk-1.7.0 vs config/precedence_routes.rb in scrivito_sdk-1.8.0.rc1
- old
+ new
@@ -17,16 +17,13 @@
member do
get :widget
get :widget_class_selection
get :widget_modification
-
- put :transfer_modifications
end
end
- resources :tasks, controller: 'tasks', only: [:show], defaults: {format: :json}
resources :sessions, controller: 'sessions', only: [:update], defaults: {format: :json}
get 'obj_class/:obj_class_name/defaults', to: 'obj_class#defaults'
put 'resolve_paths' => 'resolve_paths#resolve', defaults: {format: :json}
@@ -40,12 +37,12 @@
end
end
put 'users/mget' => 'users#mget', defaults: {format: :json}
get 'users/suggest' => 'users#suggest', defaults: {format: :json}
- get 'users/publish_ability' => 'users#publish_ability', defaults: {format: :json}
put 'ui_configs/mget' => 'ui_configs#mget', defaults: {format: :json}
+ put 'publish_abilities/mget' => 'publish_abilities#mget', defaults: {format: :json}
get 'suggest_completion' => 'completion#suggest', defaults: {format: :json}
get 'render_widget/:id/show_widget/:widget_id' => 'cms_dispatch#show_widget'
get 'render_widget/:id/widget_details/:widget_id' => 'cms_dispatch#widget_details'