cirandas.net

ref: master

app/models/favorite_enterprises_block.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class FavoriteEnterprisesBlock < ProfileListBlock

  def default_title
    _('Favorite Enterprises')
  end

  def help
    _('This block lists your favorite enterprises.')
  end

  def self.description
    _('Favorite Enterprises')
  end

  def profiles
    owner.favorite_enterprises
  end

end