From 74c61385d779d04c8f178a772cef327bcd95f068 Mon Sep 17 00:00:00 2001
From: Matthew Dillon <mrdillon@alaska.edu>
Date: Thu, 18 Jun 2015 12:58:59 -0800
Subject: [PATCH] Add link to strain on compare route

---
 app/pods/compare/template.hbs                     | 6 +++++-
 app/pods/components/strain-index-row/template.hbs | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/app/pods/compare/template.hbs b/app/pods/compare/template.hbs
index cd0cebb..8724242 100644
--- a/app/pods/compare/template.hbs
+++ b/app/pods/compare/template.hbs
@@ -18,7 +18,11 @@
       <tr>
         <th>Characteristic</th>
         {{#each strains as |strain|}}
-          <th>{{strain.fullNameMU}}</th>
+          <th>
+            {{#link-to 'strains.show' strain.id classBinding="data.typeStrain:type-strain"}}
+              {{strain.fullNameMU}}
+            {{/link-to}}
+          </th>
         {{/each}}
       </tr>
     </thead>
diff --git a/app/pods/components/strain-index-row/template.hbs b/app/pods/components/strain-index-row/template.hbs
index f512924..0cebc7a 100644
--- a/app/pods/components/strain-index-row/template.hbs
+++ b/app/pods/components/strain-index-row/template.hbs
@@ -1,6 +1,6 @@
 <td>
   {{#link-to 'strains.show' data.id classBinding="data.typeStrain:type-strain"}}
-    {{{data.fullNameMU}}}
+    {{data.fullNameMU}}
   {{/link-to}}
 </td>
 <td>