Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Base path may be nil if template is at the root of the view path

  • Loading branch information...
commit fe2640549bfc57cd862742494198781fda07ce36 1 parent 49859b0
@josh josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/template_error.rb
View
2  actionpack/lib/action_view/template_error.rb
@@ -7,7 +7,7 @@ class TemplateError < ActionViewError #:nodoc:
attr_reader :original_exception
def initialize(template, assigns, original_exception)
- @base_path = template.base_path
+ @base_path = template.base_path.to_s
@assigns, @source, @original_exception = assigns.dup, template.source, original_exception
@file_path = template.filename
@backtrace = compute_backtrace
Please sign in to comment.
Something went wrong with that request. Please try again.