config/precedence_routes.rb in scrivito_sdk-1.3.1 vs config/precedence_routes.rb in scrivito_sdk-1.4.0.rc1

- old
+ new

@@ -36,24 +36,18 @@ end resources :tasks, controller: 'tasks', only: [:show], defaults: {format: :json} resources :sessions, controller: 'sessions', only: [:update], 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} - get 'obj_class/:obj_class_name/defaults', to: 'obj_class#defaults' put 'resolve_paths' => 'resolve_paths#resolve', defaults: {format: :json} resources :workspaces, controller: 'workspaces', - only: [:index, :show, :create, :destroy], + only: [:index, :show], defaults: {format: :json} do member do - put :rename - put :memberships put :rebase put :publish get :check end end @@ -66,10 +60,7 @@ get 'page_details/:id' => 'cms_dispatch#page_details' get 'resource_details/:resource_id', to: 'ui#index' get 'to_binary' => 'binary_redirect#to_binary', as: :binary - - get 'proxy/workspaces/:workspace_id/objs/mget' => 'proxy/objs#mget' - put 'proxy/workspaces/:workspace_id/objs/:obj_id' => 'proxy/objs#update' end end