What's wrong with the current decorator?  I think it tells you what
it's doing...  exposing the method to the web.

If you're worried about symantics, IMHO the "view" should be within
the decorator itself instead of template.

@expose(view="path.to.template")

Having both @expose and @view do the same thing is also a bad idea.  I
guarantee it will confuse issues for people.  Of all the questions
I've been asked on IRC, I've never been asked to any length what
@expose does so it must make sense for the majority.

Lee

-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to