config/precedence_routes.rb in scrivito_sdk-1.4.3 vs config/precedence_routes.rb in scrivito_sdk-1.5.0.rc1
- old
+ new
@@ -21,16 +21,12 @@
get :widget_class_selection
get :widget_modification
get :conflicting_workspaces
get :binary_no_cache
- post :copy
- post :duplicate
-
put :revert
put :restore
- put :mark_resolved
put :revert_widget
put :restore_widget
put :transfer_modifications
end
end
@@ -44,11 +40,10 @@
resources :workspaces,
controller: 'workspaces',
only: [:index, :show],
defaults: {format: :json} do
member do
- put :rebase
- put :publish
+ put :publish_approval
get :check
end
end
get 'users/suggest' => 'users#suggest', defaults: {format: :json}