Sha256: 6ad457747e249cfccd667c5d1b0edf0e16ab4578868fac55bfac33b2c83be631

Contents?: true

Size: 792 Bytes

Versions: 3

Compression:

Stored size: 792 Bytes

Contents

module Spurs
  # Our host application root path
  # We set this when the engine is initialized
  mattr_accessor :app_root

  # Yield self on setup for nice config blocks
  def self.setup
    yield self
  end

end

require "spurs/modal"
require "spurs/flash"
require "spurs/nav"
require "spurs/section"
require "spurs/engine"
require "spurs/badge"

require "bootstrap-wysihtml5-rails/engine"

ActionView::Base.send :include, Spurs::Flash::Helper
ActionView::Base.send :include, Spurs::Nav::Helper
ActionView::Base.send :include, Spurs::Section::Helper
ActionView::Base.send :include, Spurs::Modal::Helper
ActionView::Base.send :include, Spurs::Badge::Helper

ActionController::Base.send :include, Spurs::Flash::ControllerMods
ActionController::Base.send :include, Spurs::Modal::ControllerMods

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spurs-0.0.6.rc1 lib/spurs.rb
spurs-0.0.5 lib/spurs.rb
spurs-0.0.5.alpha.7 lib/spurs.rb