Permalink
Browse files

Fix failing tests.

  • Loading branch information...
1 parent 23ad335 commit 117bed87296fbdaba44b28a58dfdc0c67955af95 @josevalim josevalim committed Aug 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/inherited_resources/base.rb
@@ -30,7 +30,7 @@ def self.inherit_resources(base)
:parent_url, :parent_path,
:smart_resource_url, :smart_collection_url
- self.class_attribute :resource_class unless self.respond_to? :resource_class
+ self.class_attribute :resource_class, :instance_writer => false unless self.respond_to? :resource_class
self.class_attribute :parents_symbols, :resources_configuration, :instance_writer => false
protected :resource_class, :parents_symbols, :resources_configuration,

0 comments on commit 117bed8

Please sign in to comment.