Class: Badge

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/badgeable_active_record/badge.rb

Instance Method Summary collapse

Instance Method Details

#iconObject



4
5
6
# File 'lib/badgeable_active_record/badge.rb', line 4

def icon
  "/images/#{name.parameterize}.jpg"
end