From 7de15e9bacae379e7b9aa45f583eb77da730eed3 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Thu, 20 Aug 2015 18:42:53 +0200 Subject: [PATCH] added Handler/ProfitItems --- Application.hs | 1 + Handler/ProfitItems.hs | 6 ++++++ config/routes | 1 + neat.cabal | 1 + 4 files changed, 9 insertions(+) create mode 100644 Handler/ProfitItems.hs diff --git a/Application.hs b/Application.hs index 1094a81..08fc2c7 100644 --- a/Application.hs +++ b/Application.hs @@ -36,6 +36,7 @@ import Handler.Wallet import Handler.Settings import Handler.Update import Handler.Stock +import Handler.ProfitItems -- 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 diff --git a/Handler/ProfitItems.hs b/Handler/ProfitItems.hs new file mode 100644 index 0000000..8f8a43c --- /dev/null +++ b/Handler/ProfitItems.hs @@ -0,0 +1,6 @@ +module Handler.ProfitItems where + +import Import + +getProfitItemsR :: Handler Html +getProfitItemsR = error "Not yet implemented: getProfitItemsR" diff --git a/config/routes b/config/routes index 1ef39b2..bdcadf9 100644 --- a/config/routes +++ b/config/routes @@ -11,3 +11,4 @@ /settings SettingsR GET POST /update UpdateR GET /stock StockR GET +/analysis/items ProfitItemsR GET diff --git a/neat.cabal b/neat.cabal index 4f177bb..8d20698 100644 --- a/neat.cabal +++ b/neat.cabal @@ -26,6 +26,7 @@ library Handler.Settings Handler.Update Handler.Stock + Handler.ProfitItems if flag(dev) || flag(library-only) cpp-options: -DDEVELOPMENT