| Copyright | (C) 2017-2018 Johann Lee <me@qinka.pro> |
|---|---|
| License | GPL3 |
| Maintainer | me@qinka.pro |
| Stability | experimental |
| Portability | unknow |
| Safe Haskell | None |
| Language | Haskell2010 |
Yu.Core.Control
Description
The control part of the glob.
- class (Mongodic site (HandlerT site IO), MonadHandler (HandlerT site IO), Hamletic site (HandlerT site IO), Yesod site) => Controly site
- getUrlR :: Controly site => [Text] -> HandlerT site IO TypedContent
- putUrlR :: Controly site => [Text] -> HandlerT site IO TypedContent
- deleteUrlR :: Controly site => [Text] -> HandlerT site IO TypedContent
Documentation
class (Mongodic site (HandlerT site IO), MonadHandler (HandlerT site IO), Hamletic site (HandlerT site IO), Yesod site) => Controly site Source #
for control
Arguments
| :: Controly site | |
| => [Text] | index |
| -> HandlerT site IO TypedContent |
get method router
Arguments
| :: Controly site | |
| => [Text] | index |
| -> HandlerT site IO TypedContent |
put method router