Showing the changes to assets/javascripts (1 of 1 file). Show all
Unified · Split
| @@ -69,6 +69,7 @@ class app.Router · 68 unmodified lines | |||
| 69 | return | 69 | return |
| 70 | 70 | ||
| 71 | root: -> | 71 | root: -> |
| 72 | window.location = '/' if app.isSingleDoc() | ||
| 72 | @triggerRoute 'root' | 73 | @triggerRoute 'root' |
| 73 | return | 74 | return |
| 74 | 75 | ||