added Handler/ProfitItems

This commit is contained in:
Nicole Dresselhaus 2015-08-20 18:42:53 +02:00
parent a71c8f3b26
commit 7de15e9bac
4 changed files with 9 additions and 0 deletions

View File

@ -36,6 +36,7 @@ import Handler.Wallet
import Handler.Settings import Handler.Settings
import Handler.Update import Handler.Update
import Handler.Stock import Handler.Stock
import Handler.ProfitItems
-- This line actually creates our YesodDispatch instance. It is the second half -- This line actually creates our YesodDispatch instance. It is the second half
-- of the call to mkYesodData which occurs in Foundation.hs. Please see the -- of the call to mkYesodData which occurs in Foundation.hs. Please see the

6
Handler/ProfitItems.hs Normal file
View File

@ -0,0 +1,6 @@
module Handler.ProfitItems where
import Import
getProfitItemsR :: Handler Html
getProfitItemsR = error "Not yet implemented: getProfitItemsR"

View File

@ -11,3 +11,4 @@
/settings SettingsR GET POST /settings SettingsR GET POST
/update UpdateR GET /update UpdateR GET
/stock StockR GET /stock StockR GET
/analysis/items ProfitItemsR GET

View File

@ -26,6 +26,7 @@ library
Handler.Settings Handler.Settings
Handler.Update Handler.Update
Handler.Stock Handler.Stock
Handler.ProfitItems
if flag(dev) || flag(library-only) if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT cpp-options: -DDEVELOPMENT