Sha256: d7617b5c317416b19eef40b78740d6ddf600d666821a54f850a59ed67a081af8
Contents?: true
Size: 347 Bytes
Versions: 1
Compression:
Stored size: 347 Bytes
Contents
module Cogy class Engine < ::Rails::Engine isolate_namespace Cogy config.after_initialize do Cogy.command_load_paths.each do |path| files = Dir[Rails.root.join(path, "*.rb")] files.each { |f| Cogy.module_eval(File.read(f)) } end Context.include(Rails.application.routes.url_helpers) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cogy-0.1.1 | lib/cogy/engine.rb |