class Geoblacklight::Routes::Downloadable

Public Class Methods

new(defaults = {}) click to toggle source
# File lib/geoblacklight/routes/downloadable.rb, line 6
def initialize(defaults = {})
  @defaults = defaults
end

Public Instance Methods

call(mapper, _options = {}) click to toggle source
# File lib/geoblacklight/routes/downloadable.rb, line 10
def call(mapper, _options = {})
  mapper.get "file/:id", action: "file", as: :file
  mapper.get "hgl/:id", action: "hgl", as: :hgl
end