Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns testroutes.views.welcome
- (:require [testroutes.views.common :as common]
- [noir.content.pages :as pages])
- (:use noir.core
- hiccup.core
- hiccup.page-helpers))
- (defpage "/welcome" []
- (common/layout
- [:p "Welcome to testroutes"]))
- (defpage "/resources/new" []
- (common/layout
- [:p "this is the new thing"]))
- (defpage "/resources/:resid" {:keys [journal]}
- (common/layout
- [:p "whereas this is a specific resource"]))
Advertisement
Add Comment
Please, Sign In to add comment