diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2015-03-27 03:30:11 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2015-03-27 03:30:11 +0800 |
commit | 58130cf1fe0974be69c297dd4e7abf3eb1693419 (patch) | |
tree | 68d6895eb635a4274371512aa5d8c89c8994674d /actionview/lib/action_view/renderer | |
parent | c26ee64b9211c92f4826fb935c615fbfa9d35821 (diff) | |
download | rails-58130cf1fe0974be69c297dd4e7abf3eb1693419.tar.gz rails-58130cf1fe0974be69c297dd4e7abf3eb1693419.tar.bz2 rails-58130cf1fe0974be69c297dd4e7abf3eb1693419.zip |
Add missing :html option in determine_template error message.
Diffstat (limited to 'actionview/lib/action_view/renderer')
-rw-r--r-- | actionview/lib/action_view/renderer/template_renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/renderer/template_renderer.rb b/actionview/lib/action_view/renderer/template_renderer.rb index cd21d7ab47..dbb4855e39 100644 --- a/actionview/lib/action_view/renderer/template_renderer.rb +++ b/actionview/lib/action_view/renderer/template_renderer.rb @@ -40,7 +40,7 @@ module ActionView find_template(options[:template], options[:prefixes], false, keys, @details) end else - raise ArgumentError, "You invoked render but did not give any of :partial, :template, :inline, :file, :plain, :text or :body option." + raise ArgumentError, "You invoked render but did not give any of :partial, :template, :inline, :file, :plain, :html, :text or :body option." end end |