Sha256: 596a0de008e15f4d19e75260e2e487fe610661d15ad785f37877be2448c9b86a

Contents?: true

Size: 609 Bytes

Versions: 2

Compression:

Stored size: 609 Bytes

Contents

# 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[:more] = {
    :chickens => false
  }
  
  Merb::BootLoader.before_app_loads do
    require File.join(File.dirname(__FILE__), "merb-less-more", "more.rb")
    require File.join(File.dirname(__FILE__), "merb-less-more", "controller_extension.rb")
  end
  
  Merb::BootLoader.after_app_loads do
    # code that can be required after the application loads
  end
  
  #Merb::Plugins.add_rakefiles "merb-less-more/merbtasks"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb-less-more-0.0.2 lib/merb-less-more.rb
merb-less-more-0.0.1 lib/merb-less-more.rb