Sha256: 1b9cbce2ff9b0cd78172448db305d30a7ca8a2e07888d7c38f873de0f401f0b4
Contents?: true
Size: 545 Bytes
Versions: 6
Compression:
Stored size: 545 Bytes
Contents
Rails.application.routes.draw do resources :digital_assets, except: [:new, :edit], defaults: {format: 'json'} do collection do get 'fund_docs' get 'search', to: 'digital_assets#search' post 'search', to: 'digital_assets#search' post 'updated_time' end end resources :content_folders, only: [:index, :create, :show], defaults: {format: 'json'} match 'content_folders/*id' => 'content_folders#show', :defaults => {:format => :json} # api docs sinatra engine mount Raddocs::App => "/daengine/api" end
Version data entries
6 entries across 6 versions & 1 rubygems