Current section

Files

Jump to
nitrogen_core src actions action_before_postback.erl
Raw

src/actions/action_before_postback.erl

%% vim: ts=4 sw=4 et
-module(action_before_postback).
-include("wf.hrl").
-export([render_action/1]).
render_action(#before_postback{script=Script}) ->
wf:f("Nitrogen.$before_postback(function(){ ~ts });",[Script]).