title: Rails generate url for match named route
body: <p>How can i generate url for named match route:</p>
  
  <p><code>match '/confirm_email' =&gt; 'landing_controller#index', :as =&gt; 'frontend_confirm_url', via: [:get]</code></p>
  
  <p>using something like this:</p>
  
  <ul>
  <li><code>&lt;%= link_to 'frontend_confirm_url', frontend_confirm_url_url %&gt;</code></li>
  <li><code>Rails.application.routes.frontend_confirm_url_url</code></li>
  </ul>
  
  <p>doesn't work, maybe because i'm using Spree as an engine, and trying to resolve paths from it's mailer?</p>