mirror of
https://code.sup39.dev/repos/Wqawg
synced 2025-03-20 04:46:22 +09:00
Dummy handlers for ticket editing and deletion
This commit is contained in:
parent
349d089019
commit
88569a08ad
3 changed files with 20 additions and 1 deletions
src/Vervis/Handler
|
@ -18,6 +18,9 @@ module Vervis.Handler.Ticket
|
|||
, postTicketsR
|
||||
, getTicketNewR
|
||||
, getTicketR
|
||||
, putTicketR
|
||||
, deleteTicketR
|
||||
, getTicketEditR
|
||||
)
|
||||
where
|
||||
|
||||
|
@ -114,3 +117,12 @@ getTicketR shar proj num = do
|
|||
setTitle $ toHtml $ T.intercalate " :: "
|
||||
[shar, proj, "Tickets", T.pack ('#' : show num)]
|
||||
$(widgetFile "ticket/one")
|
||||
|
||||
putTicketR :: Text -> Text -> Int -> Handler Html
|
||||
putTicketR shar proj num = error "Not implemented"
|
||||
|
||||
deleteTicketR :: Text -> Text -> Int -> Handler Html
|
||||
deleteTicketR shar proj num = error "Not implemented"
|
||||
|
||||
getTicketEditR :: Text -> Text -> Int -> Handler Html
|
||||
getTicketEditR shar proj num = error "Not implemented"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue