|
@@ -41,7 +41,7 @@ run(Req) ->
|
|
|
Html = nitro:render(Elements),
|
|
|
Actions = erlang:get(actions),
|
|
|
Pid ! {'INIT', Actions},
|
|
|
- Ctx2 = n4u_cx:fold(finish, Ctx#cx.handlers, erlang:get(context)),
|
|
|
+ Ctx2 = n4u_cx:fold(finish, Ctx#cx.handlers, ?CTX),
|
|
|
Req2 = wf:response(Html, set_cookies(wf:cookies(), Ctx2#cx.req)),
|
|
|
wf:info(?MODULE, "Cookies Req: ~p~n", [Req2]),
|
|
|
%erlang:exit(Pid, {}),
|