Commit 5d0ed67f

mo khan <mo@mokhan.ca>
2014-01-19 17:35:49
fix website and facebook link on search page. fixes #25
1 parent f36bc91
Changed files (1)
app
views
app/views/search/index.html.erb
@@ -72,9 +72,9 @@
                   <% end %>
                 </td>
                 <td><%= link_to artist.name, profile_path(artist) %></td>
-                <td><%= link_to artist.website if artist.website %></td>
+                <td><%= link_to artist.website, artist.website if artist.website %></td>
                 <td><%= link_to artist.twitter, "https://twitter.com/#{artist.twitter}" if artist.twitter.present? %></td>
-                <td><%= link_to artist.facebook if artist.facebook %></td>
+                <td><%= link_to artist.facebook, artist.facebook if artist.facebook %></td>
                 <td><%= artist.city %></td>
               </tr>
             <% end %>