How easy is it to use custom view rendering? #301
jaredcwhite
started this conversation in
General
Replies: 1 comment 2 replies
-
You would want to override the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm starting to evaluate Rodauth as a possible login solution for Bridgetown sites, and as I understand it Rodauth comes prebuilt with page templates for the login form, etc. As Bridgetown uses its own view template rendering pipeline (and its Roda integration uses that, rather than any native Roda/Tilt rendering), I'm wondering how easy it would be to set up Rodauth to use that. Is there a particular touch point in the gem, or a set of conventions, to make this straightforward? I think the rodauth-rails gem does something conceptually similar where Action View is used for the view layer in Rails.
The other potential hurdle would be getting Sequel set up for Rodauth's DB access, but thanks to @janko's excellent sequel-activerecord_connection gem, it looks like that shouldn't be an issue (currently Bridgetown offers an Active Record plugin, but now we'll be able to support both at once).
Beta Was this translation helpful? Give feedback.
All reactions