Re: Squatting
module MyApp module Controllers class Index R '/', '/(.*)' def get(opts = nil) @opts = opts render( opts ? :opts : :index ) end end end module Views def index h1 Regular end def opts h1 Opts p @opts end end end
Re: Squatting
On 5/15/08, zimbatm [EMAIL PROTECTED] wrote: Haha, well done :) Small rectification: Camping also allows multiple views per controller Really? How do you set up multiple views for a Camping app? ___ Camping-list mailing list