diff --git a/app/views/plans/show.html.erb b/app/views/plans/show.html.erb index 7254197d1e..dd3dcfcb47 100644 --- a/app/views/plans/show.html.erb +++ b/app/views/plans/show.html.erb @@ -6,7 +6,7 @@ -<% partial = @plan.editable_by?(current_user) ? "edit_details" : "show_details" %> +<% partial = @plan.editable_by?(current_user.id) ? "edit_details" : "show_details" %>