#2358: override_template does not work if @without_trailing_slash placed before
@expose)
------------------------+---------------------------------------------------
 Reporter:  sbeilin     |        Owner:  percious
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  2.1     
Component:  TurboGears  |      Version:  2.0.1   
 Severity:  minor       |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by jorge.vargas):

  * owner:  => percious
  * summary:  override_template does not work if @without_trailing_slash
              placed after @expose => override_template does
              not work if @without_trailing_slash placed
              before @expose)
  * milestone:  => 2.1

Old description:

> `override_template` does not work (just does not change the template) if
> `...@without_trailing_slash` is placed after `...@expose`. If `...@expose()` 
> is
> placed first and `...@without_trailing_slash` after it, it works as
> expected.
>
> Stepped in with TG2 2.0.1 and 2.0.3.
>
> Maybe also happens with other decorators -- not tested.

New description:

 `override_template` does not work (just does not change the template) if
 `...@without_trailing_slash` is placed before `...@expose`. If `...@expose()` 
is
 placed first and `...@without_trailing_slash` after it, it works as expected.

 Stepped in with TG2 2.0.1 and 2.0.3.

 Maybe also happens with other decorators -- not tested.

Comment:

 +1 on chrisz's point. All our decorators should be order agnostic

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2358#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to