On Mon, Dec 19, 2011 at 00:47, Jenna Fox <a...@creativepony.com> wrote: > "sit there and write a module for each one"? > > You mean, type 'MyApp::Controllers::'? You could make it simpler by adding a > C = MyApp::Controllers line before your controller requires, then you could > write 'class C::Whatever < R('/url')' sort of stuff.
You actually need `class C::Whatever < C::R('/url')`. Or: module C class Whatever < R '/url'; end end > I really don't like the magic of set :views so far as it's interaction with > markaby. Maybe I objected when it was added. If not, I mustn't have been > paying much attention. set :views won't matter when you use Markaby. It's only there for external templates. > — > Jenna Fox _______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list