diff --git a/project.clj b/project.clj index 4f23a17..8195343 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject framework-one "0.3.1" +(defproject framework-one "0.3.2" :description "A lightweight, convention-based MVC web framework." :url "https://github.com/framework-one/fw1-clj/" :license {:name "Eclipse Public License" diff --git a/src/framework/one.clj b/src/framework/one.clj index 9ea92b6..902f709 100644 --- a/src/framework/one.clj +++ b/src/framework/one.clj @@ -312,7 +312,7 @@ (event :action (str section "." item)) (event :section section) (event :item item) - (event :config @config)) + (event :config config)) controller-ns (symbol (str (stem ".") "controllers." section)) _ (require-controller rc controller-ns) rc (reduce (partial apply-controller controller-ns) @@ -391,7 +391,7 @@ :reload-application-on-every-request false :template :selmer :suffix "html" ; views / layouts would be .html - :version "0.3.1"} + :version "0.3.2"} my-config (framework-defaults (merge defaults (apply hash-map app-config)))] (when (= :selmer (:template my-config)) (selmer.filters/add-filter! :empty? empty?))