aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Caetano <laurocaetano1@gmail.com>2014-04-25 22:44:00 -0300
committerLauro Caetano <laurocaetano1@gmail.com>2014-04-25 22:44:00 -0300
commit82307454769a93f7db1f9e7f90ee8778f29e2639 (patch)
tree02e0d600a273b25556e2d916f074efd63492ac7f
parent856ea2a6a5cd3770948f1d0f9de188770f10653d (diff)
parent1d6fb054fc2895ec5e48284ce052caa6e3f93ea6 (diff)
downloadrails-82307454769a93f7db1f9e7f90ee8778f29e2639.tar.gz
rails-82307454769a93f7db1f9e7f90ee8778f29e2639.tar.bz2
rails-82307454769a93f7db1f9e7f90ee8778f29e2639.zip
Merge pull request #14875 from prathamesh-sonpatki/fix-extract-handler-format-variant-doc
Fix documentation of extract_handler_and_format_and_variant [ci skip]
-rw-r--r--actionview/lib/action_view/template/resolver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/template/resolver.rb b/actionview/lib/action_view/template/resolver.rb
index 403824bd8e..05f0c301e7 100644
--- a/actionview/lib/action_view/template/resolver.rb
+++ b/actionview/lib/action_view/template/resolver.rb
@@ -228,7 +228,7 @@ module ActionView
File.mtime(p)
end
- # Extract handler and formats from path. If a format cannot be a found neither
+ # Extract handler, formats and variant from path. If a format cannot be found neither
# from the path, or the handler, we should return the array of formats given
# to the resolver.
def extract_handler_and_format_and_variant(path, default_formats)