Sha256: f08f8b75839920aac726ad687501801a3bdcec4e3356132f8248b14470b70625

Contents?: true

Size: 862 Bytes

Versions: 1

Compression:

Stored size: 862 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
    get :search, on: :collection

    member do
      put :revert

      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

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 config/routes.rb