app/helpers/react_components/community_solutions/comments_list.rb
Method to_s
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_s
super("community-solutions-comments-list", {
user_signed_in: current_user.present?,
allow_comments: solution.allow_comments,
is_author: current_user == solution.user,