Skip to content

Commit

Permalink
explicitly hide_action respond_to? (Change in edge rails requires this)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Sep 3, 2008
1 parent f693794 commit c6f6426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ardes/resources_controller/named_route_helper.rb
Expand Up @@ -38,7 +38,7 @@ def self.included(base)
alias_method_chain :respond_to?, :named_route_helper
end
base.hide_action *instance_methods
base.hide_action :method_missing_without_named_route_helper, :respond_to_without_named_route_helper?
base.hide_action :method_missing_without_named_route_helper, :respond_to_without_named_route_helper?, :respond_to?
end

def method_missing_with_named_route_helper(method, *args, &block)
Expand Down

0 comments on commit c6f6426

Please sign in to comment.