Additional review of 6b31761.
* Fixes typos in error message and release notes. * Removes unused template test file.
This commit is contained in:
parent
6b3176170a
commit
46cb45df48
@ -37,7 +37,7 @@ def default_render(*args)
|
||||
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 " \
|
||||
|
@ -1 +0,0 @@
|
||||
zomg
|
@ -257,7 +257,7 @@ Please refer to the [Changelog][action-pack] for detailed changes.
|
||||
([Pull Request](https://github.com/rails/rails/pull/17573))
|
||||
|
||||
* Controller actions without an explicit `render` call and with no
|
||||
corresponding templates will render `head :no_conten` implicitly
|
||||
corresponding templates will render `head :no_content` implicitly
|
||||
instead of raising an error.
|
||||
(Pull Request [1](https://github.com/rails/rails/pull/19377),
|
||||
[2](https://github.com/rails/rails/pull/23827))
|
||||
|
Loading…
Reference in New Issue
Block a user