Sha256: 4a33c54e2ce63c53ae839d4fa9b9870f340af46bfc06a31515e3d8939e0ca9b3
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
# <%= package_name %>::Engine.routes.draw do # # add custom app routes here # end # draw routes for registered resources <%= package_name %>::Engine.draw_resource_routes # mount our app Rails.application.routes.draw do <%- if rodauth_account.present? -%> constraints Rodauth::Rails.authenticate(:<%= rodauth_account %>) do mount <%= package_name %>::Engine, at: "/<%= name.underscore %>" end <%- else -%> mount <%= package_name %>::Engine, at: "/<%= name.underscore %>" <%- end -%> end
Version data entries
4 entries across 4 versions & 1 rubygems