lib/cream/configure/rails.rb in cream-0.7.0 vs lib/cream/configure/rails.rb in cream-0.7.2

- old
+ new

@@ -17,18 +17,10 @@ end after :initialize do require_all File.dirname(__FILE__) + '/after_init' - # Rails3.with_configuration do - # autoload_paths += %W(#{Rails.root}/app/permits) - # load_paths += %W( #{RAILS_ROOT}/extras ) - # end - - ActiveSupport::Dependencies.load_paths << %W(#{Rails.root}/app/permits) - - # set cream config object - # Rails3.with_configuration do - # cream = Cream::Rails::Config.new :roles => Cream::Role.available - # end - end + Rails3.with_configuration do + load_paths += %W(#{Rails.root}/app/permits) + end + end end