minor
This commit is contained in:
parent
90f2748829
commit
1379fffcd1
2
models
2
models
@ -1,4 +1,4 @@
|
|||||||
User
|
\User
|
||||||
plugin Text
|
plugin Text
|
||||||
ident Text
|
ident Text
|
||||||
matrikelnummer Text Maybe
|
matrikelnummer Text Maybe
|
||||||
|
|||||||
8
routes
8
routes
@ -21,7 +21,7 @@
|
|||||||
-- !isRead -- only if it is read-only access (i.e. GET but not POST)
|
-- !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???
|
-- !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
|
/static StaticR Static appStatic !free
|
||||||
@ -30,9 +30,9 @@
|
|||||||
/favicon.ico FaviconR GET !free
|
/favicon.ico FaviconR GET !free
|
||||||
/robots.txt RobotsR GET !free
|
/robots.txt RobotsR GET !free
|
||||||
|
|
||||||
/ HomeR GET !free
|
/ HomeR GET !free
|
||||||
/users UsersR GET -- no tags, i.e. admins only
|
/users UsersR GET -- no tags, i.e. admins only
|
||||||
/admin/test AdminTestR GET POST
|
/admin/test AdminTestR GET POST !deprecated
|
||||||
|
|
||||||
/profile ProfileR GET POST !free !free
|
/profile ProfileR GET POST !free !free
|
||||||
/profile/data ProfileDataR GET !free !free
|
/profile/data ProfileDataR GET !free !free
|
||||||
|
|||||||
@ -58,8 +58,8 @@ getProfileR = do
|
|||||||
, OffsetBy $ stgMaxFavourties
|
, OffsetBy $ stgMaxFavourties
|
||||||
]
|
]
|
||||||
mapM_ delete oldFavs
|
mapM_ delete oldFavs
|
||||||
|
|
||||||
addMessageI "info" $ MsgSettingsUpdate
|
addMessageI "info" $ MsgSettingsUpdate
|
||||||
|
|
||||||
(FormFailure msgs) -> forM_ msgs $ (addMessage "warning") . toHtml
|
(FormFailure msgs) -> forM_ msgs $ (addMessage "warning") . toHtml
|
||||||
_ -> return ()
|
_ -> return ()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user