more cleanup

This commit is contained in:
Matthew Dillon 2015-07-10 12:14:05 -08:00
parent 6bc5ddfeb0
commit 33b6fe32b3
4 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<h2>{{genus-name}} Strains</h2>
<h3>Total strains: {{model.length}}</h3>
{{add-button label="Add Strain" link="strains.new" canAdd=metaData.canAdd}}
{{add-button label="Add Strain" link="protected.strains.new" canAdd=metaData.canAdd}}
<table class="flakes-table">
<thead>

View file

@ -83,7 +83,7 @@
</div>
{{#if model.canEdit}}
<br>
{{#link-to 'protected.species.edit' model class="button-gray smaller"}}
{{#link-to 'protected.strains.edit' model.id class="button-gray smaller"}}
Edit
{{/link-to}}
{{/if}}