1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

load mongo_mapper mixin for ap too

This commit is contained in:
fuJiin 2011-03-28 18:04:52 -07:00
parent dbd2bcd360
commit ff85bcab55

View file

@ -15,3 +15,4 @@ require File.dirname(__FILE__) + "/ap/mixin/action_view" if defined?(ActionView)
# console when required from ~/.irbrc.
require File.dirname(__FILE__) + "/ap/mixin/active_record" if defined?(ActiveRecord) || (defined?(IRB) && ENV['RAILS_ENV'])
require File.dirname(__FILE__) + "/ap/mixin/active_support" if defined?(ActiveSupport) || (defined?(IRB) && ENV['RAILS_ENV'])
require File.dirname(__FILE__) + "/ap/mixin/mongo_mapper" if defined?(MongoMapper)