Skip to content

Commit cc7c3e3

Browse files
committed
fix rubocop
1 parent 74b180b commit cc7c3e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/policies/public_page_policy.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def plan_export?
2929
def plan_organisationally_exportable?
3030
if @record.is_a?(Plan) && @user.is_a?(User)
3131
return @record.publicly_visible? ||
32-
(@record.organisationally_visible? && @record.owner.present? &&
33-
@record.owner.org_id == @user.org_id)
32+
(@record.organisationally_visible? && @record.owner.present? &&
33+
@record.owner.org_id == @user.org_id)
3434
end
3535

3636
false

0 commit comments

Comments
 (0)