Inject _template_roots "before_app_loads"
Reported by Will Prater | May 20th, 2008 @ 05:29 PM | in 0.9.4
Looking for a way to give all controllers multiple view/template/lib/controller/etc paths "before_app_loads".
For example, it would be nice to allow a plugin to add multiple/alternate views tempaltes for the system to look in. There should be the ability to add the templates in the front or back.
BTW does the _template_roots work in LIFO or FIFO?
TIA
Comments and changes to this ticket
-
Michael Klishin (antares) May 21st, 2008 @ 07:25 AM
- → State changed from new to open
Sounds reasonable. Marking as feature request.
-
Michael Klishin (antares) August 2nd, 2008 @ 11:48 AM
- → Tag changed from to controller "feature request" template views
- → Milestone changed from to 0.9.7
-
Michael Klishin (antares) August 6th, 2008 @ 11:45 PM
Looks like you can do it in the hook or with a bootloader. This is what merb-slices do in some sense.
How do you think it should work, or should we close this?
-
-
Michael Klishin (antares) August 7th, 2008 @ 01:02 AM
- → Assigned user changed from to Michael Klishin (antares)
- → State changed from open to invalid
- → Milestone changed from 0.9.7 to 0.9.4
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
