Please sign in to comment.
Fix incorrect relative paths being used when looking up templates.
The bug will manifest itself by failing to locate templates when running tests, or when running as a daemon (from /). It relates the the different behavior of ActionView::Template::Path#to_s and ActionView::Template::Path#to_str when a RAILS_ROOT is defined. #to_s reports a path relative to the root, and #to_str reports an absolute path. Signed-off-by: José Valim <email@example.com>
- Loading branch information...
Showing with 31 additions and 1 deletion.