Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Render with module embedded lists fix.

  • Loading branch information...
commit 337e096841cde4adbfc5ea489abdec223ff0fc17 1 parent eb86208
Jeffrey Massung massung authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/dactyl.erl
3  src/dactyl.erl
View
@@ -88,6 +88,9 @@ explode ({either,[Param,True,False]},Args) ->
true -> render(True,Args);
_ -> render(False,Args)
end;
+explode ({list,[Param,Template]},{Mod,_}=ModArgs) ->
+ List=lookup(Param,ModArgs),
+ [render(Mod,Template,Props) || Props <- List];
explode ({list,[Param,Template]},Args) ->
List=lookup(Param,Args),
[render(Template,Props) || Props <- List];
Please sign in to comment.
Something went wrong with that request. Please try again.