Sha256: 4cf2c8ce4238fe4c91785ce2aee3cd13ce77726d9186c9069715cf951ffa1a4e
Contents?: true
Size: 471 Bytes
Versions: 7
Compression:
Stored size: 471 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, :receive_from_pixlr => :post } 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
7 entries across 7 versions & 1 rubygems