Skip to content

Add UrlFormatting (defaults to None which is current behavior)#75

Merged
FransBouma merged 1 commit intoFransBouma:masterfrom
GeertvanHorrik:pr/pretty-urls
Jul 5, 2017
Merged

Add UrlFormatting (defaults to None which is current behavior)#75
FransBouma merged 1 commit intoFransBouma:masterfrom
GeertvanHorrik:pr/pretty-urls

Conversation

@GeertvanHorrik
Copy link
Copy Markdown
Contributor

Fixes #66

There are 3 modes:

  1. None (default & current behavior)
  2. Strip (replaces all special characters by string.Empty)
  3. Dashes (replaces all special characters by "-")

Thanks for this feature, it's possible to auto-generate API with nice-looking urls like this:

/reference/catel-core/catel-some-namespace/typename/index.htm (mode == Dashes)

instead of

/reference/Catel.Core/Catel.Some.Namespace/TypeName/index.htm (mode == None)

@FransBouma FransBouma merged commit 6cb4133 into FransBouma:master Jul 5, 2017
@FransBouma
Copy link
Copy Markdown
Owner

I've corrected some small layout issues in the code, nothing functionality wise.

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.

2 participants