Sha256: 0dd99436b6ef02b388c1270367c69db57cceebe65f11860328cffa16380cdaa8

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

Rails.application.routes.draw do
  resources :catalogs do
    resources :facets do
      collection do
        post :sort
      end
      resources :labels do
        collection do
          post :sort
        end
      end
    end
    put :add_asset
  end

  resources :classifications

  resources :users do
    resources :tray_positions do
      collection do
        put :replace
      end
    end
  end

  match 'asset/:id/preview' => 'Assets#preview'
  match 'asset/:id/classifications' => 'Assets#classifications'
  match 'catalog_box' => 'Catalogs#catalog_box'
  match 'box_content' => 'Catalogs#box_content'
  match 'box_facet' => 'Catalogs#box_facet'
  match 'assets/:asset_id/edit' => 'assets#edit'
  match 'assets/new' => 'assets#new'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fassets_core-0.4.0 config/routes.rb
fassets_core-0.3.1 config/routes.rb
fassets_core-0.3.0 config/routes.rb