aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/resolver.rb
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2014-04-26 06:40:05 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2014-04-26 06:40:05 +0530
commit1d6fb054fc2895ec5e48284ce052caa6e3f93ea6 (patch)
tree808ed0a583c3cd694920755457f88d257572e709 /actionview/lib/action_view/template/resolver.rb
parent7fe5ae8d237c8f821bc5e984f98d9d7eb7c35266 (diff)
downloadrails-1d6fb054fc2895ec5e48284ce052caa6e3f93ea6.tar.gz
rails-1d6fb054fc2895ec5e48284ce052caa6e3f93ea6.tar.bz2
rails-1d6fb054fc2895ec5e48284ce052caa6e3f93ea6.zip
Fix documentation of extract_handler_and_format_and_variant [ci skip]
Diffstat (limited to 'actionview/lib/action_view/template/resolver.rb')
-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)