Rename subreddit::page to subreddit::community

This commit is contained in:
spikecodes 2021-03-10 21:43:06 -08:00
parent cda19a1912
commit b2ae5e486f
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ struct WikiTemplate {
}
// SERVICES
pub async fn page(req: Request<()>) -> tide::Result {
pub async fn community(req: Request<()>) -> tide::Result {
// Build Reddit API path
let subscribed = cookie(&req, "subscriptions");
let front_page = cookie(&req, "front_page");