Sha256: c0cb3d9be629a11492ab5db938c0cdc80fa9de06a412853633e07e9fd882522f

Contents?: true

Size: 810 Bytes

Versions: 3

Compression:

Stored size: 810 Bytes

Contents

Rails.application.routes.draw do
  resources :objs, controller: 'rails_connector/objs', path: '__ipcms/objs',
      only: [:edit, :create, :update, :destroy] do
    get :page_class_selection, on: :collection

    member do
      get :show_widget
      get :widget_class_selection
      post :create_widget
      get :edit_widget

      post :copy
      post :duplicate
    end
  end

  resources :tasks, controller: 'rails_connector/tasks', path: '__ipcms/tasks', only: [:show]

  match '__ipcms/blobs/upload_permission' => 'rails_connector/blobs#upload_permission', via: :get

  resources :workspaces,
    controller: 'rails_connector/workspaces',
    path: '__ipcms/workspaces',
    only: [:index, :create, :update, :destroy] do
      member do
        put :rebase
        put :publish
      end
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.0.2 config/routes.rb
infopark_cloud_connector-7.0.1 config/routes.rb
infopark_cloud_connector-7.0.0 config/routes.rb