Add capture in function name
This commit is contained in:
parent
3f538b547d
commit
116d7bf22b
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ instance (KnownSymbol sym, HasJS sublayout)
|
|||
javascriptFor Proxy req =
|
||||
javascriptFor (Proxy :: Proxy sublayout) $
|
||||
req & reqUrl.path <>~ [Segment (Cap str) []]
|
||||
& funcName %~ (++ ["by", str])
|
||||
|
||||
where str = symbolVal (Proxy :: Proxy sym)
|
||||
|
||||
|
|
Loading…
Reference in a new issue