Added "All staff" as title when doing user filter

This commit is contained in:
MrYummy
2017-07-02 21:21:19 -04:00
committed by GitHub
parent 12fb7584bc
commit 170fba42db

View File

@@ -12,6 +12,8 @@
text = "All '#{params[:badge]}' users"
elsif params[:role] && params[:badge]
text = "All '#{params[:role]}' and '#{params[:badge]}' users"
elsif params.include?(:staff)
text = "All staff"
else
text = "All users"
end