Sha256: 07fe79865babed52715a3b010d93751b8dd28f49c2295de89a1c52285f095884

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

SourceBrowser::Engine.routes.draw do
  root "source#index"
  get "*id" => "source#show", as: :browse, format: false, defaults: {format: "html"}
  get "objects/*id", to: "objects#show",
                     as: :object,
                     format: false,
                     defaults: {format: "html"}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
source_browser-0.2.0 config/routes.rb