Ruby on railsのルーティングに別名をつけるには、as を使います。
以下のように、ルーティングに「hoge」という名前をつけてみます。
Rails.application.routes.draw do get '/hoge/items', to: 'items#index', as: 'hoge' end
テンプレート側でhoge_path とする事で「/hoge/items」というパスが取得できます。
<h1>items</h1> <%= link_to 'hoge', hoge_path %><br>
レンダリングされたHTMLは以下のようになる。
<h1>items</h1> <a href="/hoge/items">hoge</a>