We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0beb65c commit 796786fCopy full SHA for 796786f
app/controllers/users_controller.rb
@@ -27,7 +27,7 @@ def tree
27
@title << " By Karma"
28
render_to_string action: "list", layout: nil
29
}
30
- render text: content, layout: "application"
+ render html: content.html_safe, layout: "application"
31
elsif params[:moderators]
32
@users = User.where("is_admin = ? OR is_moderator = ?", true, true)
33
.order("id ASC").to_a
@@ -43,7 +43,7 @@ def tree
43
@newest = User.order("id DESC").limit(10)
44
render_to_string action: "tree", layout: nil
45
46
47
end
48
49
0 commit comments