krisyotam
/
devdocs
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
History
Reload the page when opening the root page in single doc mode
TH
Thibaut
committed 12 years ago
Commit
7f4e0ae
1 parent
dccc895
1 file ·
+1
−0
Browse files
Unified
·
Split
assets/javascripts/app/router.coffee
+1
−0
@@ -69,6 +69,7 @@ class app.Router
· 68 unmodified lines
69
69
return
70
70
71
71
root: ->
72
+
window.location = '/' if app.isSingleDoc()
72
73
@triggerRoute 'root'
73
74
return
74
75