Changeset - 6248c6fb1fcf
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-10-28 22:56:48
marcin@python-works.com
fixed badRequest on views decorated by @jsonify
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/home.py
Show inline comments
 
@@ -108,7 +108,7 @@ class HomeController(BaseController):
 
                                                    simple=True)
 
            return render('/repo_switcher_list.html')
 
        else:
 
            return HTTPBadRequest()
 
            raise HTTPBadRequest()
 

	
 
    def branch_tag_switcher(self, repo_name):
 
        if request.is_xhr:
 
@@ -116,4 +116,4 @@ class HomeController(BaseController):
 
            c.rhodecode_repo = c.rhodecode_db_repo.scm_instance
 
            return render('/switch_to_list.html')
 
        else:
 
            return HTTPBadRequest()
 
            raise HTTPBadRequest()
0 comments (0 inline, 0 general)