From cff0f854fa9db83287541c139c23736630231bf2 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Mon, 4 May 2026 21:00:31 +0200 Subject: [PATCH] feat: point RSS nav link to user feed when on profile page --- crates/presentation/src/handlers.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/presentation/src/handlers.rs b/crates/presentation/src/handlers.rs index dc13cf7..5f014f7 100644 --- a/crates/presentation/src/handlers.rs +++ b/crates/presentation/src/handlers.rs @@ -279,7 +279,8 @@ pub mod html { Path(profile_user_uuid): Path, Query(params): Query, ) -> impl IntoResponse { - let ctx = build_page_context(&state, user_id).await; + let mut ctx = build_page_context(&state, user_id).await; + ctx.rss_url = format!("/users/{}/feed.rss", profile_user_uuid); let view = params.view.unwrap_or_else(|| "recent".to_string()); let profile_user = match state.app_ctx.user_repository