Skip to content

Commit

Permalink
Fix template bug when linking to non canonical files
Browse files Browse the repository at this point in the history
The the size of the array; list presence is not what you want in the template.
  • Loading branch information
rwstauner committed Apr 7, 2015
1 parent 6f27a11 commit cd0b4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/preprocess.html
Expand Up @@ -65,7 +65,7 @@
IF file.documentation
&& file.authorized
&& file.indexed
&& file.module.grep(->(module){ module.authorized && module.indexed });
&& file.module.grep(->(module){ module.authorized && module.indexed }).size;
# Use /pod/$name.
path = file.documentation;
ELSE;
Expand Down

0 comments on commit cd0b4d6

Please sign in to comment.