Being able to name controllers definitely makes it more valuable. If I had to criticize Sinatra and its clones, I would criticize their lack of named controllers. It's difficult to write URL generation functions without them. I've only seen one Sinatra clone (Slim in php) that allows controllers to be named.
On Thu, Aug 25, 2011 at 2:21 PM, Magnus Holm <judo...@gmail.com> wrote: > On Aug 25, 2011 10:54 PM, "John Beppu" <john.be...@gmail.com> wrote: > > > > 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. > > Does it make it better that you can name them too? > > Index = get "/" do > ... > end > > Sent from my iCampingPhone > > _______________________________________________ > 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