Sha256: a7f93990411fa718fe171514b539f9f437ac9bfcc5a537c275e6427a2ea138bd

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

Rails.application.routes.draw do
  resources :catalogs do
    resources :facets do
      collection do
        post :sort
      end  
      resources :labels do
        collection do
          put :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/edit' => 'Assets#edit'
  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 'edit_box/:id' => 'Assets#edit_box'
  match 'assets/new' => 'assets#new'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fassets_core-0.2.0 config/routes.rb