diff --git a/web/CXM_web_action.anubis b/web/CXM_web_action.anubis index 912c7de..021ddae 100644 --- a/web/CXM_web_action.anubis +++ b/web/CXM_web_action.anubis @@ -6,7 +6,7 @@ * © Calexium */ - +transmit calexium_lib/web/types/web_action_name.anubis //public type WEB_Action_Name: // controller_action( // String controller, @@ -20,3 +20,17 @@ // String url_name // ) //. + +public define String + to_Anubis_Source + ( + WEB_Action_Name wan + )= + if wan is + { + no_action then "no_action", + controller_action(cont, ac_name) then "controller_action(\""+cont+"\", \""+ac_name+"\")", + action_name(ac_name) then "action_name(\""+ac_name+"\")", + url(url_name) then "url(\""+url_name+"\")" + } +. -- libgit2 0.21.4