minor
This commit is contained in:
parent
90f2748829
commit
1379fffcd1
8
routes
8
routes
@ -21,7 +21,7 @@
|
||||
-- !isRead -- only if it is read-only access (i.e. GET but not POST)
|
||||
-- !isWrite -- only if it is write access (i.e. POST only) why needed???
|
||||
--
|
||||
-- !deprecated -- like free, but logs and gives a warning
|
||||
-- !deprecated -- like free, but logs and gives a warning; entirely disabled in production
|
||||
--
|
||||
|
||||
/static StaticR Static appStatic !free
|
||||
@ -30,9 +30,9 @@
|
||||
/favicon.ico FaviconR GET !free
|
||||
/robots.txt RobotsR GET !free
|
||||
|
||||
/ HomeR GET !free
|
||||
/users UsersR GET -- no tags, i.e. admins only
|
||||
/admin/test AdminTestR GET POST
|
||||
/ HomeR GET !free
|
||||
/users UsersR GET -- no tags, i.e. admins only
|
||||
/admin/test AdminTestR GET POST !deprecated
|
||||
|
||||
/profile ProfileR GET POST !free !free
|
||||
/profile/data ProfileDataR GET !free !free
|
||||
|
||||
@ -58,8 +58,8 @@ getProfileR = do
|
||||
, OffsetBy $ stgMaxFavourties
|
||||
]
|
||||
mapM_ delete oldFavs
|
||||
|
||||
addMessageI "info" $ MsgSettingsUpdate
|
||||
|
||||
(FormFailure msgs) -> forM_ msgs $ (addMessage "warning") . toHtml
|
||||
_ -> return ()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user