Fix failbooru in /users/custom_style.css when custom_style is nil.
http://danbooru.donmai.us/users/custom_style.css failed when manually requested by anonymous users, or by users who didn't have a style set.
This commit is contained in:
@@ -218,7 +218,7 @@ class AnonymousUser
|
||||
end
|
||||
|
||||
def custom_style
|
||||
nil
|
||||
""
|
||||
end
|
||||
|
||||
def show_deleted_children?
|
||||
|
||||
Reference in New Issue
Block a user