Permalink
Browse files

default sections

  • Loading branch information...
1 parent f127a60 commit 298f767b1187f1e8c2c6eb520f6d9d959a2a2bcb @duck1123 duck1123 committed Aug 8, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 src/ciste/sections.clj
  2. +2 −1 src/ciste/sections/default.clj
View
@@ -68,7 +68,7 @@ Example:
;; Find a way to make this automatic
;; One option would be to capture the ns outside the defmacro,
;; creating a closure. I'm not sure if that's bad practice, however.
- dispatch-ns# (the-ns 'ciste.sections)
+ dispatch-ns# *ns*
dispatch-fn# (ns-resolve dispatch-ns# (symbol dispatch-name#))
serialization-dispatch# (ns-resolve dispatch-ns# (symbol (str dispatch-name# "-serialization")))
@@ -1,6 +1,7 @@
(ns ciste.sections.default
(:use [ciste.sections :only [declare-section defsection]]
- [inflections.core :only [plural underscore]]))
+ [inflections.core :only [plural underscore]])
+ (:require [clojure.tools.logging :as log]))
(declare-section link-to)
(declare-section full-uri)

0 comments on commit 298f767

Please sign in to comment.