Sha256: 6144fc66426d2eca64f5a33d39b9397d8405eaf8428765b8ea535d54a99020f6

Contents?: true

Size: 632 Bytes

Versions: 4

Compression:

Stored size: 632 Bytes

Contents

if ENV["MUNGE_ENV"] == "production"
  system.router.register(
    Routers::Fingerprint.new(
      extensions: config[:bin_extensions] + config[:bintext_extensions],
      separator: config[:fingeprint_separator]
    ))
end

system.router.register(
  Routers::RemoveIndexBasename.new(
    html_extensions: config[:text_extensions],
    index: config[:index]
  ))

system.router.register(
  Routers::AddIndexHtml.new(
    html_extensions: config[:text_extensions],
    index: config[:index]
  ))

system.router.register(
  Routers::AutoAddExtension.new(
    keep_extensions: config[:bin_extensions] + config[:bintext_extensions]
  ))

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
munge-0.13.0 seeds/lib/routing.rb
munge-0.12.0 seeds/config/routing.rb
munge-0.11.1 seeds/config/routing.rb
munge-0.11.0 seeds/config/routing.rb