File tree 2 files changed +7
-7
lines changed
src/framework/components/app
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- (defproject com.flexiana /framework " 0.1.9 "
1
+ (defproject com.flexiana /framework " 0.2.0 "
2
2
:description " Framework"
3
3
:url " https://github.com/Flexiana/framework"
4
4
:license {:name " FIXME" :url " FIXME" }
Original file line number Diff line number Diff line change 120
120
(defn mbuild-state
121
121
[{:keys [deps
122
122
http-request
123
- config ]}]
123
+ acl-cfg ]}]
124
124
(m/>>= (xiana/ok (create-empty-state ))
125
125
(comp xiana/ok
126
126
#(assoc %
127
127
:deps deps
128
128
:request http-request))
129
- #(if config
130
- (acl-builder/init % config )
129
+ #(if acl-cfg
130
+ (acl-builder/init % acl-cfg )
131
131
%)))
132
132
133
133
(defn ->app
134
- [{_acl -cfg :acl-cfg
134
+ [{acl -cfg :acl-cfg
135
135
session-backend :session-backend
136
- auth :auth
136
+ auth :auth
137
137
:as config}]
138
138
(with-meta config
139
139
`{component/start ~(fn [{:keys [router db
148
148
:session-backend session-backend}
149
149
state-built (mbuild-state {:deps deps
150
150
:http-request http-request
151
- :config config
151
+ :acl-cfg acl-cfg
152
152
:auth auth})
153
153
router-enter (select-interceptors router-interceptors :enter identity)
154
154
router-leave (select-interceptors router-interceptors :leave reverse)
You can’t perform that action at this time.
0 commit comments