1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in action_controller responder.rb

This commit is contained in:
dvsuresh 2013-12-12 02:03:58 -06:00
parent bdca668674
commit 25a5c5f236

View file

@ -270,7 +270,7 @@ module ActionController #:nodoc:
resource.respond_to?(:errors) && !resource.errors.empty?
end
# Check whether the neceessary Renderer is available
# Check whether the necessary Renderer is available
def has_renderer?
Renderers::RENDERERS.include?(format)
end