Skip to content

Commit

Permalink
all the main routes in template3 working again
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Sep 1, 2010
1 parent 7723967 commit 5431435
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/tutorial/base.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<title id="title">Empty Base Template!</title>
<link rel="stylesheet" type="text/css" href="main.css"></link>
<link rel="stylesheet" type="text/css" href="/main.css"></link>
</head>
<body>
<div id="header" class="column">
Expand Down
3 changes: 0 additions & 3 deletions src/tutorial/template3.clj
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
["c" ] (render-request viewc)
["c" action] (render-request viewc action)

[& parts] (fn [req] (when (= (last parts) "main.css")
(serve-file "main.css")))

;; 404
[&] {:status 404
:body "Page Not Found"}))
Expand Down

0 comments on commit 5431435

Please sign in to comment.