Skip to content

Commit 2a65499

Browse files
authored
Merge pull request #2834 from DMPRoadmap/patch-project-details
Patch for project details page
2 parents b70bf1d + 3b6a98a commit 2a65499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/plans/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
</div>
88

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

1111
<div class="row">
1212
<div class="col-md-12">

0 commit comments

Comments
 (0)