Sha256: 473cd1b425523afdbed4f7a44aa666c7010175b069df31ae43e6bb9be3649227
Contents?: true
Size: 441 Bytes
Versions: 5
Compression:
Stored size: 441 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.resources :papermill, :collection => { :sort => :post, :mass_edit => :post, :mass_delete => :post, :mass_thumbnail_reset => :post }, :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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
papermill-1.3.3 | config/routes.rb |
papermill-1.3.2 | config/routes.rb |
papermill-1.3.1 | config/routes.rb |
papermill-1.3.0 | config/routes.rb |
papermill-1.2.0 | config/routes.rb |