summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation.hs2
-rw-r--r--Handler/ShopAdmin.hs2
-rw-r--r--Model.hs2
-rw-r--r--Model/Unit.hs (renamed from Shop/Unit/Types.hs)2
-rw-r--r--mokupona.cabal2
5 files changed, 5 insertions, 5 deletions
diff --git a/Foundation.hs b/Foundation.hs
index d1904d2..583e9f3 100644
--- a/Foundation.hs
+++ b/Foundation.hs
@@ -17,7 +17,7 @@ import Network.Mail.Mime
import Text.Shakespeare.Text (stext)
import Text.Blaze.Html.Renderer.Utf8 (renderHtml)
import Text.Cassius (PixelSize (..))
-import Shop.Unit.Types (Unit (..))
+import Model.Unit (Unit (..))
import Model.Amount (Amount (..))
import Model.Quantity (Quantity (..), toAmount)
import Yesod.Form.Bootstrap3
diff --git a/Handler/ShopAdmin.hs b/Handler/ShopAdmin.hs
index 56a0b56..9eb4db3 100644
--- a/Handler/ShopAdmin.hs
+++ b/Handler/ShopAdmin.hs
@@ -1,7 +1,7 @@
module Handler.ShopAdmin where
import Import
-import Shop.Unit.Types (Unit (..))
+import Model.Unit (Unit (..))
import Shop.Image.Functions (getImageId)
import Shop.Image.Fields (selectImageField, bootstrapFileField)
import Shop.Amount.Fields (amountField)
diff --git a/Model.hs b/Model.hs
index c79ae72..729c95c 100644
--- a/Model.hs
+++ b/Model.hs
@@ -3,7 +3,7 @@ module Model where
import ClassyPrelude.Yesod
import Database.Persist.Quasi
-import Shop.Unit.Types (Unit)
+import Model.Unit (Unit)
import Model.Amount (Amount)
import Model.Quantity (Quantity)
import Shop.Place.Types (Point (..))
diff --git a/Shop/Unit/Types.hs b/Model/Unit.hs
index cb72064..1e56f79 100644
--- a/Shop/Unit/Types.hs
+++ b/Model/Unit.hs
@@ -1,4 +1,4 @@
-module Shop.Unit.Types where
+module Model.Unit where
import Prelude
import Database.Persist.Types (PersistValue (..))
diff --git a/mokupona.cabal b/mokupona.cabal
index bc99f44..26d6a34 100644
--- a/mokupona.cabal
+++ b/mokupona.cabal
@@ -20,6 +20,7 @@ library
Settings.StaticFiles
Model.Amount
Model.Quantity
+ Model.Unit
Widget.Navbar
Handler.Common
Handler.Home
@@ -42,7 +43,6 @@ library
Handler.Place
Shop.Image.Functions
Shop.Image.Fields
- Shop.Unit.Types
Shop.Amount.Fields
Shop.Quantity.Fields
Shop.Place.Types