module Handler.Workflow.Workflow.Edit
  ( getGWWEditR, postGWWEditR
  , getSWWEditR, postSWWEditR
  , workflowEditR
  ) where

import Import

import Utils.Workflow


getGWWEditR, postGWWEditR :: CryptoFileNameWorkflowWorkflow -> Handler Html
getGWWEditR = postGWWEditR
postGWWEditR = workflowEditR WSGlobal

getSWWEditR, postSWWEditR :: SchoolId -> CryptoFileNameWorkflowWorkflow -> Handler Html
getSWWEditR = postSWWEditR
postSWWEditR ssh = workflowEditR $ WSSchool ssh

workflowEditR :: RouteWorkflowScope -> CryptoFileNameWorkflowWorkflow -> Handler Html
workflowEditR = error "not implemented"
