houdini/lib/generators/overrides/rails/plugin/templates/config/routes.rb.tt

6 lines
129 B
Text

<% if mountable? -%>
<%= camelized_modules %>::Engine.routes.draw do
<% else -%>
Rails.application.routes.draw do
<% end -%>
end