Method: Hanami::API#path

Defined in:
lib/hanami/api.rb

#path(name, variables = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

TODO: verify if needed here on in block context

Since:

  • 0.1.0



322
323
324
# File 'lib/hanami/api.rb', line 322

def path(name, variables = {})
  @url_helpers.path(name, variables)
end