Inject _template_roots "before_app_loads"
Reported by Will Prater | May 21st, 2008 @ 12:29 AM | 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 @ 02:25 PM
- → State changed from new to open
Sounds reasonable. Marking as feature request.
-
Michael Klishin (antares) August 2nd, 2008 @ 06:48 PM
- → Tag changed from to controller "feature request" template views
- → Milestone changed from to 0.9.7
-
Michael Klishin (antares) August 7th, 2008 @ 06:45 AM
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 @ 08:02 AM
- → Milestone changed from 0.9.7 to 0.9.4
- → State changed from open to invalid
- → Assigned user changed from to Michael Klishin (antares)
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 »
