Sha256: 85a152e2778c45af14c320034cdead5f39a5d1886e6c10ef88a8a14028d38d8f

Contents?: true

Size: 408 Bytes

Versions: 6

Compression:

Stored size: 408 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :papermill, :collection => { :mass_edit => :post, :add_list => :post, :browser => :get }, :member => { :crop => :get }
  map.connect "#{Papermill::options[:papermill_url_prefix]}/#{Papermill::compute_paperclip_path.gsub(":id_partition", ":id0/:id1/:id2")}", :controller => "papermill", :action => "show", :requirements => { :style => /.*/ }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
papermill-2.1.1 config/routes.rb
papermill-2.1.0 config/routes.rb
papermill-2.0.2 config/routes.rb
papermill-2.0.1 config/routes.rb
papermill-2.0.0 config/routes.rb
papermill-2.0.0.pre config/routes.rb