lib/citygate.rb in citygate-0.0.3 vs lib/citygate.rb in citygate-0.0.4

- old
+ new

@@ -1,9 +1,9 @@ require "citygate/engine" module Citygate - require "#{File.join(Citygate.root,'lib/app_controller_helpers')}" - + Dir["#{Citygate.root}/lib/*.rb"].each {|file| require file} + ActiveSupport.on_load(:action_controller) do extend AppControllerHelpers::ClassMethods include AppControllerHelpers::InstanceMethods end end