config/precedence_routes.rb in scrivito_sdk-1.2.0 vs config/precedence_routes.rb in scrivito_sdk-1.3.0.rc1
- old
+ new
@@ -19,11 +19,10 @@
member do
get :widget
get :widget_class_selection
get :widget_modification
get :conflicting_workspaces
- get :is_outdated
get :binary_no_cache
post :copy
post :duplicate
@@ -35,15 +34,19 @@
put :transfer_modifications
end
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],
defaults: {format: :json} do
member do
@@ -63,7 +66,10 @@
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