Permalink
Browse files

Resolves activeadmin#139

  • Loading branch information...
1 parent 12571db commit 30b078eb61201e5e70d50d83f7ed6fc4f7fa4463 @jcarlson jcarlson committed May 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/inherited_resources/base.rb
@@ -21,7 +21,7 @@ def self.inherit_resources(base)
extend InheritedResources::UrlHelpers
# Add at least :html mime type
- respond_to :html
+ respond_to :html if self.mimes_for_respond_to.empty?
self.responder = InheritedResources::Responder
helper_method :resource, :collection, :resource_class, :association_chain,

0 comments on commit 30b078e

Please sign in to comment.