History

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

Thibaut committed 12 years ago

Commit 7f4e0ae1 parent dccc8951 file · +1 −0Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/router.coffee+1−0
@@ -69,6 +69,7 @@ class app.Router · 68 unmodified lines
6969 return
7070
7171 root: ->
72+ window.location = '/' if app.isSingleDoc()
7273 @triggerRoute 'root'
7374 return
7475

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t