lib/generators/templates/application/merb/app/views/exceptions/not_found.html.erb in merb-gen-0.9.7 vs lib/generators/templates/application/merb/app/views/exceptions/not_found.html.erb in merb-gen-0.9.8
- old
+ new
@@ -6,10 +6,10 @@
<hr />
</div>
<div id="left-container">
<h3>Exception:</h3>
- <p><%%= params[:exception] %></p>
+ <p><%%= request.exceptions.first.message %></p>
</div>
<div id="main-container">
<h3>Welcome to Merb!</h3>
<p>Merb is a light-weight MVC framework written in Ruby. We hope you enjoy it.</p>