*controllers that is On Tue, Feb 19, 2013 at 4:04 AM, Alec Taylor <[email protected]> wrote: > Thanks, what's the routes syntax to specific functions? > > This didn't work: > > fruit = dict( > default_function = 'index', > controllers = ['salad'], > functions = ['index','user','download','call', > 'data','error','profile',] > ) > > Am I meant to specify the list in BASE? > > On Tue, Feb 19, 2013 at 3:49 AM, Jonathan Lundell <[email protected]> wrote: >> On 18 Feb 2013, at 8:38 AM, Niphlod <[email protected]> wrote: >> >> ####! Missed that. >> >> On Monday, February 18, 2013 5:23:55 PM UTC+1, Jonathan Lundell wrote: >>> >>> >>> You've listed salad as a function, but it's a controller. >> >> >> PS: Next thing to code is a small page where you load routes, a text input >> where you can insert an http url, and a textarea with the resulting >> Wsplitted" url (function, controller, args, vars, language, etc) (in & out). >> @Jonathan: if it's technically possible and you don't have time, I'll put in >> my todo-list (and enlist you as a consultant :-P) >> >> >> Another thing that could be helpful in debugging routes is to call URL() >> with specified arguments and see what it generates. That would have shown a >> problem with the fruit/salad router. >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >>
-- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

