Sha256: 04b44d1fdd730c9816043fb9a6d0ad020741101668c9f531e12374e31fef445d
Contents?: true
Size: 534 Bytes
Versions: 21
Compression:
Stored size: 534 Bytes
Contents
<%= package_name %>::Engine.draw_custom_routes do # draw custom routes here root to: "dashboard#index" 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
21 entries across 21 versions & 1 rubygems