Sha256: 28609d1b6a1b05474405e26e576b4fb4642ccf0cab33fd67a9e40eea70da4bb4

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

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

    member do
      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

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-6.9.5 config/routes.rb