Skip to content

Commit 7dfa258

Browse files
committed
Forgot to add action_modal module :)
1 parent ed56eef commit 7dfa258

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/actions/action_modal.erl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
% vim: sw=4 ts=4 et ft=erlang
2+
% Nitrogen Web Framework for Erlang
3+
% Copyright (c) 2025 Jesse Gumm
4+
% See MIT-LICENSE for licensing information.
5+
6+
-module(action_modal).
7+
-include("wf.hrl").
8+
-export([render_action/1]).
9+
10+
render_action(Rec = #modal{}) ->
11+
modal_handler:render_open_action(Rec);
12+
render_action(Rec = #close_modal{}) ->
13+
modal_handler:render_close_action(Rec).

0 commit comments

Comments
 (0)