Skip to content

Commit

Permalink
f with slug
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Nov 22, 2016
1 parent a1a48f5 commit 5073f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templates/category/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{#each category.subcategories as |subcategory| }}
<div class='row'>
<div class='info'>
{{link-to subcategory.id "category" subcategory.slug}}
{{link-to subcategory.category "category" subcategory.slug}}
<span class='vers small'>
{{ format-num subcategory.crates_cnt }}
crates
Expand Down
2 changes: 1 addition & 1 deletion app/templates/crate/version.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<h3>Categories</h3>
<ul class='categories'>
{{#each categories as |category|}}
<li>{{link-to category.id 'category' category}}</li>
<li>{{link-to category.category 'category' category.slug}}</li>
{{/each}}
</ul>
</div>
Expand Down

0 comments on commit 5073f95

Please sign in to comment.