Commit 5ee065c85f0c6e25e11432aa1cd1e8460af31e42

Authored by Hamad alghanim
2 parents b25477f3 19196dfa
Exists in master

Merge branch 'master' of https://github.com/Dreamersoul/letter_avatar

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/letter_avatar/avatar.rb
@@ -43,7 +43,7 @@ module LetterAvatar @@ -43,7 +43,7 @@ module LetterAvatar
43 fullsize = fullsize_path(identity) 43 fullsize = fullsize_path(identity)
44 generate_fullsize(identity) if !cache || !File.exist?(fullsize) 44 generate_fullsize(identity) if !cache || !File.exist?(fullsize)
45 45
46 - LetterAvatar.resize(fullsize, filename, size, size) 46 + LetterAvatar.resize(fullsize, filename, size, size) if size != FULLSIZE
47 filename 47 filename
48 end 48 end
49 49