Rename module: Entry.Kind -> Model.Entry.Kind
This commit is contained in:
parent
02fd91cb77
commit
66cb093387
6 changed files with 8 additions and 7 deletions
|
|
@ -6,13 +6,14 @@ module Handler.Entries where
|
|||
import Import
|
||||
|
||||
import Yesod.AtomFeed ( atomLink )
|
||||
import qualified Data.Text as T
|
||||
|
||||
import qualified Entry.Kind as K
|
||||
import Model.Cache ( getCached )
|
||||
import Widget.Entry ( entryR, hEntry )
|
||||
import Widget.Feed ( hFeed )
|
||||
|
||||
import qualified Data.Text as T
|
||||
import qualified Model.Entry.Kind as K
|
||||
|
||||
getEntriesR :: K.EntryKind -> Handler Html
|
||||
getEntriesR kind = do
|
||||
entries <- runDB $ selectList [EntryKind ==. kind] [Desc EntryPublished]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue