Changeset 5243
- Timestamp:
- 10/09/06 00:40:05 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/rescue.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r5242 r5243 1 1 *SVN* 2 3 * Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [mnaberez] 2 4 3 5 * Fixed escaping of backslashes in JavaScriptHelper#escape_javascript #6302 [sven@c3d2.de] trunk/actionpack/lib/action_controller/rescue.rb
r5212 r5243 67 67 add_variables_to_assigns 68 68 @template.instance_variable_set("@exception", exception) 69 @template.instance_variable_set("@rescues_path", File.dirname( __FILE__) + "/templates/rescues/")69 @template.instance_variable_set("@rescues_path", File.dirname(rescues_path("stub"))) 70 70 @template.send(:assign_variables_from_controller) 71 71