Skip to content

Commit

Permalink
Merge pull request #319 from tosdr/revert-318-fix/500-on-versions
Browse files Browse the repository at this point in the history
Revert "Reverting previous changes"
  • Loading branch information
Christopher Talib authored May 4, 2018
2 parents ab3fb0a + 0ca1611 commit af2f340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/points/_table_reasons.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="row">
<div class="col-sm-4">
<h5>
<b>Version <%= counter - 1 %>:</b> <%= format_time(version.changeset["updated_at"].second.time) %>
<b>Version <%= counter - 1 %>:</b> <%= format_time(version.changeset["updated_at"].nil? ? @point.updated_at : version.changeset["updated_at"].second.time) %>
</h5>
</div>
<div class="col-sm-4">
Expand Down

0 comments on commit af2f340

Please sign in to comment.