Sha256: 1754da10a34531f57f6b7bc80173adc5d2de97018d42c54845c6ecec6fbe8ecc

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 Bytes

Contents

<% namespace do %>
  # The application base routes.
  class Routes < Hanami::Routes
    slice(:health, at: "/up") { root to: "show" }
    slice(:home, at: "/") { root to: "show" }

    <% if settings.build_security %>
    use Rack::Static, root: "public", urls: ["/.well-known/security.txt"]
    <% end %>
  end
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hanamismith-1.1.0 lib/hanamismith/templates/%project_name%/config/routes.rb.erb
hanamismith-1.0.0 lib/hanamismith/templates/%project_name%/config/routes.rb.erb
hanamismith-0.50.0 lib/hanamismith/templates/%project_name%/config/routes.rb.erb
hanamismith-0.49.1 lib/hanamismith/templates/%project_name%/config/routes.rb.erb
hanamismith-0.49.0 lib/hanamismith/templates/%project_name%/config/routes.rb.erb
hanamismith-0.48.0 lib/hanamismith/templates/%project_name%/config/routes.rb.erb