fix challenges link when not authenticated
parent
1aa503e646
commit
2fcc95a9ee
|
@ -10,6 +10,10 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
|||
img.img-responsive.nav-logo(src='https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg')
|
||||
.collapse.navbar-collapse
|
||||
ul.nav.navbar-nav.navbar-right
|
||||
- if (!cc)
|
||||
li
|
||||
a(href='/challenges/0') Challenges
|
||||
- else
|
||||
li
|
||||
a(href='/') Challenges
|
||||
- if (!cc || (cc && cc[1] < 1))
|
||||
|
|
Loading…
Reference in New Issue