Changeset [d48a742785fe6cf67e96cf96917684af305df484] by James Adam
April 16th, 2011 @ 10:27 PM
Allow specification of a per-app default renderer.
The intention here is that you might write a 'Blog' renderer,
and mount an instance of Vanilla::App
under
/blog
, and have it treat snips differently. One
important thing to note is that every snip without a
render_as
attribute will use this renderer, so
low-level snips like layout
will probably need their
renderers explicitly set to Base
.
https://github.com/lazyatom/vanilla-rb/commit/d48a742785fe6cf67e96c...
Committed by James Adam
- M lib/vanilla/app.rb
- M test/vanilla_presenting_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A sort of meta-wiki thing