Sha256: 5575015cd23af14ce120ac1c1b2a6d792026731746955c39d0304612b14bc70d

Contents?: true

Size: 642 Bytes

Versions: 1

Compression:

Stored size: 642 Bytes

Contents

require 'action_view'
require 'tophat/title'
require 'tophat/meta'
require 'tophat/stylesheet'
require 'tophat/robots'

module TopHat
  autoload :TitleHelper,      'tophat/title'
  autoload :MetaHelper,       'tophat/meta'
  autoload :StylesheetHelper, 'tophat/stylesheet'
  autoload :RobotsHelper,     'tophat/robots'
  autoload :OpenGraphHelper,  'tophat/opengraph'
end

ActionView::Base.send :include, TopHat::TitleHelper
ActionView::Base.send :include, TopHat::MetaHelper
ActionView::Base.send :include, TopHat::StylesheetHelper
ActionView::Base.send :include, TopHat::RobotsHelper
ActionView::Base.send :include, TopHat::OpenGraphHelper

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tophat-1.2.0 lib/tophat.rb