Module: ODDB::View::SponsorMethods

Included in:
Drugs::Compare, Drugs::Result
Defined in:
src/view/sponsorhead.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) head(model, session)



35
36
37
38
39
40
41
# File 'src/view/sponsorhead.rb', line 35

def head(model, session)
  if(@lookandfeel.enabled?(:sponsorlogo))
    View::SponsorHead.new(model, session, self)
  else
    View::LogoHead.new(model, session, self)
  end
end