Skip to content

Conversation

@valdisiljuconoks
Copy link
Contributor

Related to #7

Merge pull request #4 from valdisiljuconoks/master
* Added web,config.transform to add protected module
* Added NuGet package
* Bumped version to 2.0
Copy link
Member

@bjuris bjuris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks

var ctx = new HttpContextWrapper(new HttpContext (new HttpRequest("", url, ""), new HttpResponse(new StringWriter(new StringBuilder()))));

if (r.Route is ContentRoute)
if (r.Route is DefaultContentRoute)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be able to use IContentRoute to avoid the use of internal namespaces(DefaultContentRoute) and cast r.Route to Route.

@valdisiljuconoks
Copy link
Contributor Author

Added some code refactorings. Can you review now?

@bjuris bjuris merged commit 550907b into episerver:master Dec 22, 2016
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