aboutsummaryrefslogtreecommitdiff
path: root/src/server/Controller
diff options
context:
space:
mode:
authorJoris2015-09-05 09:28:21 +0200
committerJoris2015-09-05 09:28:21 +0200
commita26b34e52edca1c783d929f25157fd4a04432344 (patch)
tree65e8cd976792d1e72fd3203d9550d046713c783c /src/server/Controller
parentc876fd8c2f1aac2c3fe10c2b7de734f3ef71b71f (diff)
downloadbudget-a26b34e52edca1c783d929f25157fd4a04432344.tar.gz
budget-a26b34e52edca1c783d929f25157fd4a04432344.tar.bz2
budget-a26b34e52edca1c783d929f25157fd4a04432344.zip
Centering pages
Diffstat (limited to 'src/server/Controller')
-rw-r--r--src/server/Controller/Payment.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Controller/Payment.hs b/src/server/Controller/Payment.hs
index b3fe07a..0a40771 100644
--- a/src/server/Controller/Payment.hs
+++ b/src/server/Controller/Payment.hs
@@ -36,7 +36,7 @@ createPaymentAction :: Text -> Int -> ActionM ()
createPaymentAction name cost =
Secure.loggedAction (\user -> do
_ <- liftIO . runDb $ createPayment (entityKey user) name cost
- ok200
+ status ok200
)
deletePaymentAction :: Text -> ActionM ()