mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-07 23:27:51 +00:00
Clean-up and more consistent styles.
This commit is contained in:
parent
c71df35b22
commit
11e4ff42ed
6 changed files with 32 additions and 18 deletions
|
@ -65,7 +65,7 @@ pub async fn page(req: HttpRequest) -> HttpResponse {
|
|||
}
|
||||
|
||||
// Sub or unsub by setting subscription cookie using response "Set-Cookie" header
|
||||
pub async fn set(req: HttpRequest) -> HttpResponse {
|
||||
pub async fn subscriptions(req: HttpRequest) -> HttpResponse {
|
||||
let mut res = HttpResponse::Found();
|
||||
let default = cookie(&req, "front_page");
|
||||
let sub = req
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue