config/precedence_routes.rb in scrivito_sdk-1.6.0.rc1 vs config/precedence_routes.rb in scrivito_sdk-1.6.0.rc2
- old
+ new
@@ -7,25 +7,21 @@
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, :destroy], defaults: {format: :json} do
+ resources :objs, controller: 'objs', only: [:show], 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 :binary_no_cache
- put :revert
put :restore
- put :revert_widget
- put :restore_widget
put :transfer_modifications
end
end
resources :tasks, controller: 'tasks', only: [:show], defaults: {format: :json}