Skip to content

Instantly share code, notes, and snippets.

@borkdude
Created June 6, 2012 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borkdude/2882250 to your computer and use it in GitHub Desktop.
Save borkdude/2882250 to your computer and use it in GitHub Desktop.
(ns foo.views.welcome
(:require [foo.views.common :as common]
[noir.content.getting-started]
[noir.session :as session])
(:use [noir.core :only [defpage]]))
(defpage "/welcome" []
(session/put! :test "hello")
(common/layout
[:p "Welcome to foo" @session/mem]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment