Changes between Version 3 and Version 4 of CtxtnavAddPlugin


Ignore:
Timestamp:
Sep 20, 2006 1:17:17 AM (8 years ago)
Author:
Pedro Algarvio, aka, s0undt3ch <ufs@…>
Comment:

Fixed the example.

Legend:

Unmodified
Added
Removed
Modified
  • CtxtnavAddPlugin

    v3 v4  
    3636 
    3737    # ICtxtnavAdder methods 
    38     def match_ctxtnav_add(self, req, path_info): 
    39         return path_info.startswith('/wiki') 
     38    def match_ctxtnav_add(self, req): 
     39        return req.path_info.startswith('/wiki') 
    4040 
    4141    def get_ctxtnav_adds(self, req):