Module: AvatarsForRails::Avatarable

Extended by:
ActiveSupport::Concern
Defined in:
lib/avatars_for_rails/avatarable.rb

Instance Method Summary collapse

Instance Method Details

#avatar_tmp_public_path(root_path) ⇒ Object



18
19
20
21
22
# File 'lib/avatars_for_rails/avatarable.rb', line 18

def avatar_tmp_public_path(root_path)
  return unless avatar_tmp_file?

  File.join(root_path, AvatarsForRails.public_tmp_path, @avatar_tmp_basename)
end