Sha256: b58aca959c38262f2677cc518763c8ce2519121a0de35ae78a634577e1e5d68c
Contents?: true
Size: 511 Bytes
Versions: 14
Compression:
Stored size: 511 Bytes
Contents
require 'fgraph' require 'fgraph/rails/fgraph_helper' require 'fgraph/rails/fgraph_tag_helper' FGRAPH_CONFIG = "#{RAILS_ROOT}/config/fgraph.yml" # Load configuration file if File.exists?(FGRAPH_CONFIG) fgraph_config = YAML.load(ERB.new(File.read(FGRAPH_CONFIG)).result) FGraph.config = fgraph_config[RAILS_ENV] end ActionController::Base.send :include, FGraph::Rails::FGraphHelper ActionView::Base.send :include, FGraph::Rails::FGraphHelper ActionView::Base.send :include, FGraph::Rails::FGraphTagHelper
Version data entries
14 entries across 14 versions & 1 rubygems