lib/cogy/engine.rb in cogy-0.1.0 vs lib/cogy/engine.rb in cogy-0.1.1
- old
+ new
@@ -2,10 +2,10 @@
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 = Dir[Rails.root.join(path, "*.rb")]
files.each { |f| Cogy.module_eval(File.read(f)) }
end
Context.include(Rails.application.routes.url_helpers)
end