Sha256: dcb917843dc6783cf13b9d161f7f5a614f39ffe193612b4372de8f6ae4696d2a
Contents?: true
Size: 535 Bytes
Versions: 24
Compression:
Stored size: 535 Bytes
Contents
<%= package_name %>::Engine.routes.draw do root to: "dashboard#index" # register resources above. # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html end # 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
24 entries across 24 versions & 1 rubygems