Basic unsubscribe endpoint
This commit is contained in:
@@ -50,6 +50,10 @@ pub struct ConfirmTemplate;
|
||||
#[template(path = "../templates/404.html")]
|
||||
pub struct NotFoundTemplate;
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "../templates/unsubscribe.html")]
|
||||
pub struct UnsubscribeTemplate;
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "../templates/email/new_post.html")]
|
||||
pub struct NewPostEmailTemplate<'a> {
|
||||
|
||||
Reference in New Issue
Block a user