raganwald-deprecated / Roweis

Use convention over configuration to host your views and controllers in a "single page browser application"
32 stars 1 forks source link

Controller paths should be functions, not strings #5

Open raganwald opened 13 years ago

raganwald commented 13 years ago

instead of Sammy.Roweis.controllers.welcome.path it should be Sammy.Roweis.controllers.welcome.path(). This allows for parameterization such as Sammy.Roweis.controllers.welcome.path({user: 'Rasputin'})