mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fixed line number reporting for Builder template errors #1753 [piotr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Fixed line number reporting for Builder template errors #1753 [piotr]
|
||||
|
||||
* Fixed assert_routing so that testing controllers in modules works as expected [Nicholas Seckar, Rick Olson]
|
||||
|
||||
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods #1730 [court3nay/Thomas Fuchs]
|
||||
|
||||
@@ -287,7 +287,7 @@ module ActionView #:nodoc:
|
||||
|
||||
def rxml_render(extension, template, local_assigns)
|
||||
@controller.headers["Content-Type"] ||= 'text/xml'
|
||||
eval(template, evaluate_locals(local_assigns))
|
||||
eval(template, evaluate_locals(local_assigns), '(template)(eval)', 1)
|
||||
end
|
||||
|
||||
def delegate_render(extension, template, local_assigns)
|
||||
|
||||
Reference in New Issue
Block a user