Skip to content

Use CreateRouteValues for creation routes#8241

Merged
sebastienros merged 2 commits into
OrchardCMS:1.10.xfrom
LaserSrl:8238_UseCreateRouteValues
Jul 25, 2019
Merged

Use CreateRouteValues for creation routes#8241
sebastienros merged 2 commits into
OrchardCMS:1.10.xfrom
LaserSrl:8238_UseCreateRouteValues

Conversation

@MarcoViglione-Laser

Copy link
Copy Markdown
Contributor

Issue #8238

IOrchardServices _orchardServices;
WorkContext.TryResolve<IOrchardServices>(out _orchardServices);

Layout.Title = T("Create New Content").ToString();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you set T("Create New Content") without the ToString ? There might be double encoding issues otherwise.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@sebastienros
sebastienros merged commit b6a4ef6 into OrchardCMS:1.10.x Jul 25, 2019
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