add toggle for testing cropped thumbnails

This commit is contained in:
r888888888
2017-09-06 17:02:43 -07:00
parent 599f2a59fe
commit 63f7edd0c6
4 changed files with 8 additions and 3 deletions

View File

@@ -257,6 +257,10 @@ class AnonymousUser
false
end
def cropped_thumbnails?
false
end
User::Roles.reject {|r| r == :anonymous}.each do |name|
define_method("is_#{name}?") do
false