projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62cd2f1
)
add missing type signature
author
Joey Hess
<joeyh@joeyh.name>
Fri, 11 Nov 2016 22:14:25 +0000
(18:14 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Fri, 11 Nov 2016 22:14:25 +0000
(18:14 -0400)
Assistant/WebApp/Types.hs
patch
|
blob
|
history
diff --git
a/Assistant/WebApp/Types.hs
b/Assistant/WebApp/Types.hs
index 4dcaab93c912792e627a900dd7f3085c8e9294e2..1ab0fa306f3a8360ad6a8b1ffdbb3ccd6be27959 100644
(file)
--- a/
Assistant/WebApp/Types.hs
+++ b/
Assistant/WebApp/Types.hs
@@
-48,7
+48,8
@@
data WebApp = WebApp
}
mkYesodData "WebApp" $(parseRoutesFile "Assistant/WebApp/routes")
-
+
+excludeStatic :: [Text] -> Bool
excludeStatic [] = True
excludeStatic (p:_) = p /= "static"