Commit 0b5ca06

mo khan <mo@mokhan.ca>
2016-05-28 15:01:05
display link to home gym on profile.
1 parent 8be0dbb
Changed files (1)
app
views
app/views/profiles/show.html.erb
@@ -9,6 +9,9 @@
     <% else %>
       <p><%= t('.no_workouts_completed') %></p>
     <% end %>
+    <% if @profile.gym.present? %>
+      <p><%= link_to @profile.gym.name, @profile.gym %></p>
+    <% end %>
     <p><%= @user.time_zone %></p>
   </div>