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