Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Dec 25, 2024
1 parent 75d2acf commit d69cac5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/cells/decidim/content_blocks/last_comment_cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ def cache_hash
end

def comments
@comments ||= Decidim::LastActivity.new(current_organization, current_user: current_user).query.where(resource_type: 'Decidim::Comments::Comment').limit(comments_to_show * 6)
@comments ||= Decidim::LastActivity.new(
current_organization,
current_user:
).query.where(resource_type: "Decidim::Comments::Comment").limit(comments_to_show * 6)
end

def comments_to_show
Expand Down

0 comments on commit d69cac5

Please sign in to comment.