Sha256: bbe8db9f36af53397e494cc73761a7de7111c57dd5789209ea69f497374b13c5

Contents?: true

Size: 596 Bytes

Versions: 6

Compression:

Stored size: 596 Bytes

Contents

require "view_fu/tag_helper"
require "view_fu/meta_helper"

require "browser_detect/helper"
require "headliner/helper"

# make sure we're running inside Merb
if defined?(Merb::Plugins)

  # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it
  Merb::Plugins.config[:viewfu] = {}
  
  Merb::BootLoader.before_app_loads do
    Merb::Controller.send(:include, ViewFu::MetaHelper)
    Merb::Controller.send(:include, ViewFu::TagHelper)
    Merb::Controller.send(:include, Headliner::Helper)
    Merb::Controller.send(:include, BrowserDetect::Helper)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb_viewfu-0.3.2 lib/merb_viewfu.rb
merb_viewfu-0.3.1 lib/merb_viewfu.rb
merb_viewfu-0.2 lib/merb_viewfu.rb
merb_viewfu-0.3 lib/merb_viewfu.rb
merb_viewfu-0.3.3 lib/merb_viewfu.rb
merb_viewfu-0.3.4 lib/merb_viewfu.rb