Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

default sections

  • Loading branch information...
commit 298f767b1187f1e8c2c6eb520f6d9d959a2a2bcb 1 parent f127a60
@duck1123 authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  src/ciste/sections.clj
  2. +2 −1  src/ciste/sections/default.clj
View
2  src/ciste/sections.clj
@@ -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")))
View
3  src/ciste/sections/default.clj
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.