Skip to content

Refactor edit link helpers for DI and root-relative URLs#804

Merged
poppastring merged 1 commit into
mainfrom
edit-post-fix
Apr 27, 2026
Merged

Refactor edit link helpers for DI and root-relative URLs#804
poppastring merged 1 commit into
mainfrom
edit-post-fix

Conversation

@poppastring
Copy link
Copy Markdown
Owner

Refactor edit link helpers for DI and root-relative URLs

Refactored PostEditLinkTagHelper and EditPostTagHelper to use constructor injection for IUrlResolver, ensuring dependency injection and generating root-relative URLs. Updated test data and form actions in CreatePost.cshtml and EditPost.cshtml to use root-relative paths for improved hosting compatibility.

Refactored PostEditLinkTagHelper and EditPostTagHelper to use constructor injection for IUrlResolver, ensuring dependency injection and generating root-relative URLs. Updated test data and form actions in CreatePost.cshtml and EditPost.cshtml to use root-relative paths for improved hosting compatibility.
@poppastring poppastring merged commit d1a190d into main Apr 27, 2026
3 checks passed
@poppastring poppastring deleted the edit-post-fix branch April 27, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant