Sha256: ee1ca3cd551e3aa9896e5ebb373d36976534ab49c841a941d38ddccace9e9409

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

Dropzone::Engine.routes.draw do
  match '/profile/:profile_id/:entity_id' => 'profiles#info', :constraints => { :profile_id => /[^\/]*/, :entity_id => /[^\/]*/ }, :via => :get
  match '/profile/:profile_id/:entity_id' => 'profiles#upload_image', :constraints => { :profile_id => /[^\/]*/, :entity_id => /[^\/]*/ }, :via => :post
  match '/profile/:profile_id/:entity_id' => 'profiles#delete_image', :constraints => { :profile_id => /[^\/]*/, :entity_id => /[^\/]*/ }, :via => :delete
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dropzone-1.0.6 config/routes.rb
dropzone-1.0.5 config/routes.rb