Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #120 from omu/hotfix_unit_link
Browse files Browse the repository at this point in the history
Fixes #119
  • Loading branch information
msdundar authored Jul 14, 2018
2 parents 55bd666 + d9e7a98 commit eb6f12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/studies/articles/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<%= link_to user_path(user) do %>
<%= "#{user.identities.first.try(:first_name)} #{user.identities.first.try(:last_name)}" %>
<% end %>
- <%= user.duties.tenure.first.unit.name %>
- <%= user.duties.tenure.first.try(:unit).try(:name) %>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit eb6f12f

Please sign in to comment.