lib/carter/rails/init.rb in carter-0.7.2 vs lib/carter/rails/init.rb in carter-0.8.0

- old
+ new

@@ -1,10 +1,6 @@ if defined?(Rails) ActiveRecord::Base.extend Carter::ActiveRecord::Cartable if defined?(ActiveRecord) - if Rails::VERSION::MAJOR == 3 - require 'carter/engine' - else - require 'carter/routing' - ActionController::Routing::RouteSet::Mapper.send :include, Carter::Routing::MapperExtensions - end + + require 'carter/engine' end