config/routes.rb in papermill-0.14.3 vs config/routes.rb in papermill-0.16.0
- old
+ new
@@ -1,4 +1,4 @@
ActionController::Routing::Routes.draw do |map|
- map.resources :papermill, :collection => { :sort => :post }
- map.connect "#{Papermill::PAPERMILL_DEFAULTS[:papermill_prefix]}/#{Papermill::PAPERCLIP_INTERPOLATION_STRING.gsub(":id_partition", ":id0/:id1/:id2")}", :controller => "papermill", :action => "show"
+ map.resources :papermill, :collection => { :sort => :post, :mass_edit => :post, :mass_delete => :post }
+ map.connect "#{Papermill::options[:papermill_prefix]}/#{Papermill::PAPERCLIP_INTERPOLATION_STRING.gsub(":id_partition", ":id0/:id1/:id2")}", :controller => "papermill", :action => "show"
end
\ No newline at end of file