bbangert / Kai

Kai is a Pylons web app that runs the PylonsHQ.com site. It has a simple blog, RSS feeds, pastebin, traceback repository, snippets, and documentation.

Clone this repository (size: 10.4 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/bbangert/kai/
commit 255: c4c0533ce034
parent 254: 27431755cf36
branch: default
Handle search url properly
Ben Bangert / bbangert
2 months ago

Changed (Δ71 bytes):

raw changeset »

kai/controllers/docs.py (3 lines added, 0 lines removed)

Up to file-list kai/controllers/docs.py:

@@ -66,6 +66,9 @@ class DocsController(BaseController):
66
66
        if url == 'objects.inv':
67
67
            response.content_type = 'text/plain'
68
68
            return c.doc['content']
69
        
70
        if url == 'search':
71
            redirect_to('search')
69
72
        return render('/docs/view.mako')
70
73
    
71
74
    def _view_old(self, version, url):