On Thu, Apr 7, 2011 at 8:20 PM, Michael Merickel <[email protected]> wrote: > To solve your problem you probably just need to remove the view_attr from > add_route and call config.scan(). > The problem here is the ambiguity in add_route because it supports routes > and the ability to add a single view. Rather add_view and view_config are > identical except that view_config requires to you call config.scan() to > place the decorator within your code, instead of within your config.
You're right. It makes sense. And it works! Thank you. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
