Sha256: 97e09d9c98d0a773be0a0bb7d71966380ff6d1069e72834feff6c988f3aef5db
Contents?: true
Size: 1007 Bytes
Versions: 3
Compression:
Stored size: 1007 Bytes
Contents
require "rules_view" require "rails" module RulesView class Engine < Rails::Engine initializer "rules_view.action_view" do |app| ActionView::Base.send(:include, RulesView::Alerts) ActionView::Base.send(:include, RulesView::Boxes) ActionView::Base.send(:include, RulesView::Buttons) ActionView::Base.send(:include, RulesView::Navigate) ActionView::Base.send(:include, RulesView::Defer) ActionView::Base.send(:include, RulesView::FormStyles) ActionView::Base.send(:include, RulesView::FormFields) ActionView::Base.send(:include, RulesView::FormBuilderView) end initializer "rules_view.action_controller" do |app| ActionController::Base.send(:include, RulesView::ModelLoader) end generators do require File.expand_path(File.dirname(__FILE__) + "./../../generators/install_generator") require File.expand_path(File.dirname(__FILE__) + "./../../generators/layout_generator") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rules_view-0.0.3 | lib/rules_view/engine.rb |
rules_view-0.0.2 | lib/rules_view/engine.rb |
rules_view-0.0.1 | lib/rules_view/engine.rb |