Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 1173

Show
Ignore:
Timestamp:
04/17/05 06:11:58 (3 years ago)
Author:
david
Message:

Fixed error handling of broken layouts #1115 [Michael Schubert]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r1170 r1173  
    11*SVN* 
     2 
     3* Fixed error handling of broken layouts #1115 [Michael Schubert] 
    24 
    35* Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from: 
  • trunk/actionpack/lib/action_controller/templates/rescues/template_error.rhtml

    r1048 r1173  
    11<h1> 
    22  <%=h @exception.original_exception.class.to_s %> in 
    3   <%=h @request.parameters["controller"].capitalize %>#<%=h @request.parameters["action"] %> 
     3  <%=h @request.parameters["controller"].capitalize if @request.parameters["controller"]%>#<%=h @request.parameters["action"] %> 
    44</h1> 
    55