config/precedence_routes.rb in scrivito_sdk-0.66.0 vs config/precedence_routes.rb in scrivito_sdk-0.70.0.rc1
- old
+ new
@@ -32,10 +32,12 @@
resources :tasks, controller: 'scrivito/tasks', path: '__scrivito/tasks', only: [:show],
defaults: {format: :json}
get '__scrivito/blobs/upload_permission' => 'scrivito/blobs#upload_permission',
defaults: {format: :json}
+ put '__scrivito/blobs/activate_upload' => 'scrivito/blobs#activate_upload',
+ defaults: {format: :json}
resources :workspaces,
controller: 'scrivito/workspaces',
path: '__scrivito/workspaces',
only: [:index, :show, :create, :update, :destroy],
@@ -51,11 +53,10 @@
get '__scrivito/render_widget/:id/show_widget/:widget_id' => 'scrivito/cms_dispatch#show_widget'
get '__scrivito/render_widget/:id/widget_details/:widget_id' => 'scrivito/cms_dispatch#widget_details'
get '__scrivito/page_details/:id' => 'scrivito/cms_dispatch#page_details'
-
- get '__scrivito/resource_details/:resource_id' => 'scrivito/cms_dispatch#resource_details'
+ get '__scrivito/resource_details/:resource_id', to: 'scrivito/ui#index'
get '__scrivito/to_binary' => 'scrivito/binary_redirect#to_binary', as: :binary
get 'scrivito', to: 'scrivito/ui#index'
get 'scrivito/*application_path', to: 'scrivito/ui#index', format: false