diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-20 13:50:13 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-20 13:50:13 +0000 |
commit | 12a75736303d67f17e29f25aa635d521a56d0de2 (patch) | |
tree | e31f5c9a520036016ab9ae642bc70d320f899205 /actionpack/lib/action_controller/templates/rescues | |
parent | beb2875094d8038b1d5d8fc1a5943884cf96ccf4 (diff) | |
download | rails-12a75736303d67f17e29f25aa635d521a56d0de2.tar.gz rails-12a75736303d67f17e29f25aa635d521a56d0de2.tar.bz2 rails-12a75736303d67f17e29f25aa635d521a56d0de2.zip |
Added new keyword to specify load paths as being component based. Added better logging for component calls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues')
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml index d807c4fb79..30a1a05d1f 100644 --- a/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +++ b/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml @@ -1,4 +1,4 @@ -<% unless @exception.blamed_files.empty? %> +<% if @exception.blamed_files && !@exception.blamed_files.empty? %> <a href="#" onclick="document.getElementById('blame_trace').style.display='block'; return false;">Show blamed files</a> <pre id="blame_trace" style="display:none"><code><%=h @exception.describe_blame %></code></pre> <% end %> |