config/precedence_routes.rb in scrivito_sdk-1.1.1 vs config/precedence_routes.rb in scrivito_sdk-1.2.0.rc1
- old
+ new
@@ -28,20 +28,20 @@
post :duplicate
put :revert
put :restore
put :mark_resolved
- put :destroy_widget
put :revert_widget
put :restore_widget
put :transfer_modifications
end
end
resources :tasks, controller: 'tasks', only: [:show], defaults: {format: :json}
get 'blobs/upload_permission' => 'blobs#upload_permission', defaults: {format: :json}
put 'blobs/activate_upload' => 'blobs#activate_upload', defaults: {format: :json}
+ put 'blobs/copy' => 'blobs#copy', defaults: {format: :json}
resources :workspaces,
controller: 'workspaces',
only: [:index, :show, :create, :destroy],
defaults: {format: :json} do