From 46cb45df485d6f4d67a8e448a142bcab47fc0f2a Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Thu, 25 Feb 2016 11:13:42 +0100 Subject: Additional review of 6b31761. * Fixes typos in error message and release notes. * Removes unused template test file. --- actionpack/lib/action_controller/metal/implicit_render.rb | 2 +- .../test/fixtures/implicit_render_test/some_action_2.html+zomg.erb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 actionpack/test/fixtures/implicit_render_test/some_action_2.html+zomg.erb (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/metal/implicit_render.rb b/actionpack/lib/action_controller/metal/implicit_render.rb index 1f0179a287..6b540d42c7 100644 --- a/actionpack/lib/action_controller/metal/implicit_render.rb +++ b/actionpack/lib/action_controller/metal/implicit_render.rb @@ -37,7 +37,7 @@ module ActionController if template_exists?(action_name.to_s, _prefixes, variants: request.variant) render(*args) elsif any_templates?(action_name.to_s, _prefixes) - message = "#{self.class.name}\##{action_name} does not know how to repond " \ + message = "#{self.class.name}\##{action_name} does not know how to respond " \ "to this request. There are other templates available for this controller " \ "action but none of them were suitable for this request.\n\n" \ "This usually happens when the client requested an unsupported format " \ diff --git a/actionpack/test/fixtures/implicit_render_test/some_action_2.html+zomg.erb b/actionpack/test/fixtures/implicit_render_test/some_action_2.html+zomg.erb deleted file mode 100644 index 7d8187321c..0000000000 --- a/actionpack/test/fixtures/implicit_render_test/some_action_2.html+zomg.erb +++ /dev/null @@ -1 +0,0 @@ -zomg -- cgit v1.2.3