Skip to content

Commit

Permalink
0.3.2 fixes event scope add from 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Feb 8, 2014
1 parent 876a8bc commit a42558e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/framework/one.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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?))
Expand Down

0 comments on commit a42558e

Please sign in to comment.