We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b70bf1d + 3b6a98a commit 2a65499Copy full SHA for 2a65499
1 file changed
app/views/plans/show.html.erb
@@ -6,7 +6,7 @@
6
</div>
7
8
9
-<% partial = @plan.editable_by?(current_user) ? "edit_details" : "show_details" %>
+<% partial = @plan.editable_by?(current_user.id) ? "edit_details" : "show_details" %>
10
11
<div class="row">
12
<div class="col-md-12">
0 commit comments