Class: Hanami::Slice::RoutesHelper

Inherits:
Object
  • Object
show all
Defined in:
gems/gems/hanami-2.1.0/lib/hanami/slice/routes_helper.rb

Overview

Hanami app routes helpers

An instance of this class will be registered with slice (at the “routes” key). You can use it to access the route helpers for your app.

Examples:

MyApp::App["routes"].path(:root) # => "/"

See Also:

Since:

  • 2.0.0