Navigation Menu

Skip to content

Commit

Permalink
Allow stacktrace css to be used with more URLs
Browse files Browse the repository at this point in the history
This already worked for URLs like http://example.com/, but not for
http://example.com/foo/bar
  • Loading branch information
trptcolin committed Apr 8, 2013
1 parent 831a3f6 commit fdcceac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ring-devel/src/ring/middleware/stacktrace.clj
Expand Up @@ -35,12 +35,12 @@
(html5
[:head
[:title "Ring: Stacktrace"]
(include-css "__ring/css/stacktrace.css")]
(include-css "/__ring/css/stacktrace.css")]
[:body
[:div#exception
[:h1 (h (.getName (:class ex)))]
[:div.message (h (:message ex))]
[:div.trace
[:div.trace
[:table
[:tbody (map elem-partial (:trace-elems ex))]]]]])))

Expand Down

0 comments on commit fdcceac

Please sign in to comment.