about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-08 18:23:59 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-08 18:23:59 +0200
commita4cc966476852542f445793b60c67ad3682976e5 (patch)
treeab3e8d50a21ddffddd4db1cfaa5b651d9f5e1fae /app
parent509c18eb139ead0d2e2f02f580ef04b28d874f48 (diff)
Removing default avatars
Diffstat (limited to 'app')
-rw-r--r--app/assets/images/avatars/missing.pngbin10226 -> 0 bytes
-rw-r--r--app/assets/images/background-pattern.pngbin29274 -> 0 bytes
-rw-r--r--app/models/account.rb2
3 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/images/avatars/missing.png b/app/assets/images/avatars/missing.png
deleted file mode 100644
index 3cbc714bf..000000000
--- a/app/assets/images/avatars/missing.png
+++ /dev/null
Binary files differdiff --git a/app/assets/images/background-pattern.png b/app/assets/images/background-pattern.png
deleted file mode 100644
index 9afda79fe..000000000
--- a/app/assets/images/background-pattern.png
+++ /dev/null
Binary files differdiff --git a/app/models/account.rb b/app/models/account.rb
index 8e0283ca1..264345472 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -7,7 +7,7 @@ class Account < ApplicationRecord
   validates :username, presence: true, uniqueness: { scope: :domain, case_sensitive: true },  unless: 'local?'
 
   # Avatar upload
-  has_attached_file :avatar, styles: { large: '300x300#', medium: '96x96#', small: '48x48#' }, default_url: 'avatars/missing.png'
+  has_attached_file :avatar, styles: { large: '300x300#', medium: '96x96#', small: '48x48#' }
   validates_attachment_content_type :avatar, content_type: /\Aimage\/.*\Z/
 
   # Header upload