class ActionDispatch::Routing::Mapper

Public Instance Methods

secure_download_map(options={}) click to toggle source
# File lib/secure_download/routes.rb, line 3
def secure_download_map(options={})
  options = {:path => 'secure_download'}.merge(options)
  get "#{options[:path]}/:model/:field/:id" => 'secure_download/download#download', :as => 'secure_download'
end