trestle
trestle copied to clipboard
path after login
hi!
i would suggest to add to configuration file something like this:
Trestle.configure do |config|
config.home = '/dashboard' #relative to config.path path
end
or is this already somehow can be achieved?
I'll have a bit more a think about what options are appropriate to provide here, and whether they belong in trestle core or trestle-auth.
However if you are building out a custom dashboard, you may wish to mount it at the path /, which will override the existing 'dashboard' which is really just a placeholder for a future dashboard DSL.
Trestle.admin(:dashboard, path: "/") do
...
end