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:
parent
bdca668674
commit
25a5c5f236
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue