Module freedit::controller::inn
source · Expand description
Structs§
- Form data:
/inn/:iid/:pid/
comment create - FormInn 🔒Form data:
/mod/:iid
inn create/edit page - Form data:
/mod/feed/:iid
inn feed page - Vec data: Comment
- Vec data: inn
- OutPost 🔒Vec data: post
- Vec data: post list
- PageInn 🔒Page data:
inn.html
- Page data:
inn_create.html
- Page data:
inn_edit.html
- Page data:
inn_list.html
- PagePost 🔒Page data:
post.html
- Page data:
post_create.html
- Page data:
post_edit.html
- Page data:
preview.html
- PageTag 🔒Page data:
tag.html
- url params:
inn.html
- url params:
inn_list.html
- url params:
post.html
- url params:
post_create.html
- url params:
tag.html
Statics§
- Cached static for the
recommend_inns
function. - Cached static for the
recommend_users
function.
Functions§
GET /post/:iid/:pid/:cid/delete
comment deleteGET /inn/:iid/:pid/:cid/downvote
comment downvoteGET /post/:iid/:pid/:cid/hide
comment hidePOST /post/:iid/:pid/
comment createGET /inn/:iid/:pid/:cid/upvote
comment upvoteGET /post/edit/:pid
post create/edit pagePOST /post/edit/:pid
post create/edit page- get OutPostList from pids
- get pids all, controlled by
inn_type
, sorted by timestamp - get pids by multi iids, sorted by timestamp
- get pids by multi uids, controlled by
inn_type
, sorted by timestamp - inn 🔒
GET /inn/:iid
inn page - inn_feed 🔒
GET /inn/:iid/atom.xml
inn page - inn_join 🔒
GET /inn/:iid/join
join inn - inn_list 🔒
GET /inn/list
inns list page POST /mod/feed/:iid
inn feed page- mod_inn 🔒
GET /mod/:iid
inn create/edit page POST /mod/:iid
inn create/edit page- post 🔒
GET /inn/:iid/:pid
post page GET /inn/:iid/:pid/delete
post deleteGET /inn/:iid/:pid/downvote
post downvoteGET /inn/:iid/:pid/hide
post hideGET /inn/:iid/:pid/lock
post lock- post_pin 🔒
GET /inn/:iid/:pid/pin
post pin GET /inn/:iid/:pid/upvote
post upvote- preview 🔒
POST /preview
- This is a cached function that uses the
RECOMMEND_INNS
cached static. - Origin of the cached function
recommend_inns
. - Primes the cached function
recommend_inns
. This is a cached function that uses theRECOMMEND_INNS
cached static. - This is a cached function that uses the
RECOMMEND_USERS
cached static. - Origin of the cached function
recommend_users
. - Primes the cached function
recommend_users
. This is a cached function that uses theRECOMMEND_USERS
cached static. - tag 🔒
GET /inn/tag/:tag
tag page