History

Fix exception in Router#isIndex

Thibaut Courouble committed 9 years ago

Commit c42ef5d1 parent 84846841 file · +1 −1Browse files

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

Unified · Split

assets/javascripts/app/router.coffee+1−1
@@ -113,7 +113,7 @@ class app.Router · 112 unmodified lines
113113 return
114114
115115 isIndex: ->
116− @context.path is '/' or (app.isSingleDoc() and @context?.entry?.isIndex())
116+ @context?.path is '/' or (app.isSingleDoc() and @context?.entry?.isIndex())
117117
118118 setInitialPath: ->
119119 # Remove superfluous forward slashes at the beginning of the path

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