Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / lib / has_many_polymorphs / configuration.rb
1
2 =begin rdoc
3 Access the <tt>has_many_polymorphs_options</tt> hash in your Rails::Initializer.run#after_initialize block if you need to modify the behavior of Rails::Initializer::HasManyPolymorphsAutoload.
4 =end
5
6 class Rails::Configuration
7
8   def has_many_polymorphs_options
9     Rails::Initializer::HasManyPolymorphsAutoload.options
10   end
11   
12   def has_many_polymorphs_options=(hash)
13     Rails::Initializer::HasManyPolymorphsAutoload.options = hash
14   end
15   
16 end
17