Skip to content

Commit

Permalink
Merge pull request #2834 from DMPRoadmap/patch-project-details
Browse files Browse the repository at this point in the history
Patch for project details page
  • Loading branch information
martaribeiro committed Mar 11, 2021
2 parents b70bf1d + 3b6a98a commit 2a65499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/plans/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
</div>

<% partial = @plan.editable_by?(current_user) ? "edit_details" : "show_details" %>
<% partial = @plan.editable_by?(current_user.id) ? "edit_details" : "show_details" %>

<div class="row">
<div class="col-md-12">
Expand Down

0 comments on commit 2a65499

Please sign in to comment.