Switch to unified view

a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
...
...
188
    def do_login(self, return_to=None, **kw):
188
    def do_login(self, return_to=None, **kw):
189
        if return_to and return_to != request.url:
189
        if return_to and return_to != request.url:
190
            redirect(return_to)
190
            redirect(return_to)
191
        redirect('/')
191
        redirect('/')
192
192
193
    @expose()
193
    @expose(content_type='text/plain')
194
    def refresh_repo(self, *repo_path):
194
    def refresh_repo(self, *repo_path):
195
        # post-commit hooks use this
195
        # post-commit hooks use this
196
        if not repo_path:
196
        if not repo_path:
197
            return 'No repo specified'
197
            return 'No repo specified'
198
        repo_path = '/' + '/'.join(repo_path)
198
        repo_path = '/' + '/'.join(repo_path)