Sha256: d717da36273f9816197dce033f00e286152aedb139d34f0e5b0c03bbb196aa5e

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 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_folder, only: [:index, :create], defaults: {format: 'json'}

  # api docs sinatra engine
  mount Raddocs::App => "/docs"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
daengine-0.6.19 config/routes.rb