Permalink
Browse files

use buildin Texts instead of Tags

  • Loading branch information...
1 parent 66e5493 commit 6f5a59e0ba0047aa97643bcc60ff898f3f1c0da7 @pSub committed Apr 18, 2012
Showing with 1 addition and 5 deletions.
  1. +0 −4 Foundation.hs
  2. +1 −1 config/routes
View
@@ -62,10 +62,6 @@ data Homepage = Homepage
-- Set up i18n messages. See the message folder.
mkMessage "Homepage" "messages" "en"
--- This is only temporary, since complex types are
--- currently not allowed in routes
-type Tags = [Text]
-
-- This is where we define all of the routes in our application. For a full
-- explanation of the syntax, please see:
-- http://www.yesodweb.com/book/handler
View
@@ -11,7 +11,7 @@
/admin AdminR GET POST
/admin/delete/#CategoryId DeleteCategoryR GET
/category/#Text EntriesR GET
-/category/#Text/tags/*Tags EntriesByTagR GET
+/category/#Text/tags/*Texts EntriesByTagR GET
/category/#Text/entry/#Text EntryR GET POST
/category/#Text/entry/#Text/reply-to/#CommentId EntryCommentR GET POST
/new-entry/#Text NewEntryR GET POST

0 comments on commit 6f5a59e

Please sign in to comment.