Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defroutes public-routes
- (GET "/" [] (main-page)))
- (defroutes admin-routes
- (GET "/admin/new" [] (render-page "New Post" new-form))
- (POST "/admin/post" [title body] (create-post title body)))
Add Comment
Please, Sign In to add comment