config/precedence_routes.rb in scrivito_sdk-1.5.5 vs config/precedence_routes.rb in scrivito_sdk-1.6.0.rc1
- old
+ new
@@ -7,22 +7,20 @@
get 'scrivito/*application_path', to: 'scrivito/ui#index', format: false
scope '__scrivito', module: 'scrivito' do
get ':id', to: 'cms_dispatch#index', as: :base_id, constraints: {id: /\h{16}/}
- resources :objs, controller: 'objs', only: [:show, :create, :update, :destroy],
- defaults: {format: :json} do
+ resources :objs, controller: 'objs', only: [:show, :destroy], defaults: {format: :json} do
collection do
get :page_class_selection
get :search
end
member do
get :widget
get :widget_class_selection
get :widget_modification
- get :conflicting_workspaces
get :binary_no_cache
put :revert
put :restore
put :revert_widget
@@ -45,10 +43,15 @@
put :publish_approval
get :check
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}
+
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'