If I wanted that notation, I'd just use Sinatra. ;) Like Bartosz, I like having named controllers so that I can pass them to R() when generating links.
On Thu, Aug 25, 2011 at 10:20 AM, Magnus Holm <judo...@gmail.com> wrote: > I just pushed a new feature to Camping: Simple controllers. > > module App::Controllers > get '/(.*)' do |name| > "Hello #{name}" > end > end > > What do you think? Useful? Or should I revert it? It currently costs > us 87 bytes. > > // Magnus Holm > _______________________________________________ > Camping-list mailing list > Camping-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list