I have hanami application version 1.0.0
I have next routes.rb file:
get '/games', to: 'games#index' root to: 'home#index'
I read docs and tried to use
<%= routes.games_path %>
in application.html.erb template, but recieved next error:
Hanami::Routing::InvalidRouteException: No route (path) could be generated for :games - please check given arguments
How can I use routers in hanami templates?