bna
master
Good idea!
@@ -14,0 +26,4 @@
else
@users = User.joins(:role).where.not(id: User.first.id) #Remove first user
end
@users = @users.order("roles.value desc", "confirmed desc", :name)
This file can be quite huge, so it would be better to cache the parsed file (in the User model) for 10s or the likes
This should say something along the lines of "banned on the server"
Server bans and website bans are two separate things, so just use two separate if blocks instead of if/elsif here.
Consequently, this should say "banned on the website".
No dependencies set.
The note is not visible to the blocked user.
Good idea!
@@ -14,0 +26,4 @@else@users = User.joins(:role).where.not(id: User.first.id) #Remove first userend@users = @users.order("roles.value desc", "confirmed desc", :name)This file can be quite huge, so it would be better to cache the parsed file (in the User model) for 10s or the likes
This should say something along the lines of "banned on the server"
Server bans and website bans are two separate things, so just use two separate if blocks instead of if/elsif here.
Consequently, this should say "banned on the website".