Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.
This repository was archived by the owner on May 19, 2024. It is now read-only.

Edit Post/Draft pages 'Cancel and Undo Changes' link errors #193

Description

@emo333

The generated link adds "GUID" dashes:

https://venusblog.azurewebsites.net/Post/03fd92fe-cb17-4dc2-bc66-3b821e0ab898/sample

The fix is adding .ToString("N") to line 49 ViewData["id"] = post.Id.ToString("N"); in Edit.cshtml.cs which removes the dashes:

https://venusblog.azurewebsites.net/Post/03fd92fecb174dc2bc663b821e0ab898/sample

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions