presentation wiring
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,4 +9,4 @@ askama = { version = "0.16.0" }
|
||||
serde = { workspace = true }
|
||||
|
||||
domain = { workspace = true }
|
||||
presentation = { workspace = true }
|
||||
application = { workspace = true }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use askama::Template;
|
||||
use application::ports::HtmlRenderer;
|
||||
use domain::models::{DiaryEntry, collections::Paginated};
|
||||
use presentation::ports::HtmlRenderer; // Assuming you exposed the port
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "diary.html")]
|
||||
|
||||
Reference in New Issue
Block a user