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  12fb02ca399dc5f615b90b5383ae06d18e3e44c6
tree    52c3722ae7b81d5a8d23724c24db0f8b66b23d20
parent  b59b01956a5e5b54302fcd01add8096f58ba0b1f
...
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