Sha256: a89db1c723d1d9f51a9d0facbf8f495b4c18972259da8c130282648a36f568c5

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :documents, :collection=>{:check_query=>:post}, :member=>{:download=>:get, :content=>:get, :cached=>:get}, :requirements=>{:id=>/.*/}
  map.connect 'access_denied', :controller=> 'application', :action => 'access_denied'
  map.connect "*anything", :controller=>'application', :action => 'unknown_request'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picolena-0.2.0 lib/picolena/templates/config/routes.rb
picolena-0.2.2 lib/picolena/templates/config/routes.rb