Browse Source

Reload the page when opening the root page in single doc mode

Thibaut 11 years ago
parent
commit
7f4e0aea30
1 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/javascripts/app/router.coffee

+ 1 - 0
assets/javascripts/app/router.coffee

@@ -69,6 +69,7 @@ class app.Router
     return
 
   root: ->
+    window.location = '/' if app.isSingleDoc()
     @triggerRoute 'root'
     return