protected route

This commit is contained in:
Matthew Dillon 2015-07-10 09:29:12 -08:00
parent 72c957f8dc
commit eb1a8bb6e3
41 changed files with 56 additions and 43 deletions

View file

@ -16,7 +16,7 @@
<label>Strains</label>
{{#each species.strains as |strain index|}}
{{if index ","}}
{{#link-to 'strains.show' strain.id}}
{{#link-to 'protected.strains.show' strain.id}}
{{{strain.strainNameMU}}}
{{/link-to}}
{{/each}}

View file

@ -1,3 +1,3 @@
{{#link-to 'index' class='logo'}}
{{#link-to 'protected.index' class='logo'}}
<h2>{{globals.genus}}.info</h2>
{{/link-to}}