public
Description: master merb branch
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb.git
Don't display trace options in production mode [#1088 state:resolved]
wycats (author)
Tue Dec 02 18:55:52 -0800 2008
commit  698fa5015e15a05a3bbfc69eb2f838b27ef7bfec
tree    f6f1f58723fffd040ac47ba3ca0885b6e3a4af06
parent  31a22e715a44f3f10b98b0d26f4099a1f0f48a39
...
53
54
55
 
 
56
57
58
...
63
64
65
66
67
68
69
...
53
54
55
56
57
58
59
60
...
65
66
67
 
68
69
70
0
@@ -53,6 +53,8 @@
0
         <sup class="error_<%= exception.class.status %>"><%= exception.class.status %></sup>
0
       </h1>
0
       <%= error_codes(exception) %>
0
+    
0
+    <% if @show_details %>
0
       <p class="options">
0
         <label class="all">All<input type="checkbox" autocomplete="off" /></label>
0
         <span class="all">
0
@@ -63,7 +65,6 @@
0
         </span>
0
       </p>
0
 
0
-    <% if @show_details %>
0
     <table class="trace">
0
       <% exception.backtrace.each_with_index do |line, index| %>
0
         <% type, shortname, filename, lineno, location = frame_details(line) %>

Comments