mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
- Fixing bug in livewriter rsd url
--HG-- branch : dev
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using Orchard.Blogs.Models;
|
using Orchard.Blogs.Models;
|
||||||
using Orchard.Mvc.Extensions;
|
|
||||||
|
|
||||||
namespace Orchard.Blogs.Extensions {
|
namespace Orchard.Blogs.Extensions {
|
||||||
public static class UrlHelperExtensions {
|
public static class UrlHelperExtensions {
|
||||||
@@ -21,7 +20,7 @@ namespace Orchard.Blogs.Extensions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static string BlogRsd(this UrlHelper urlHelper, string blogSlug) {
|
public static string BlogRsd(this UrlHelper urlHelper, string blogSlug) {
|
||||||
return urlHelper.AbsoluteAction(() => urlHelper.Action("Rsd", "Blog", new { blogSlug, area = "Orchard.Blogs" }));
|
return urlHelper.Action("Rsd", "Blog", new { blogSlug, area = "Orchard.Blogs" });
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string BlogArchiveYear(this UrlHelper urlHelper, string blogSlug, int year) {
|
public static string BlogArchiveYear(this UrlHelper urlHelper, string blogSlug, int year) {
|
||||||
|
Reference in New Issue
Block a user