Skip to content

Commit

Permalink
#2335 Fixed problem with store link on RSS pages when site is SSL only
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Sep 13, 2017
1 parent ccfef77 commit a0f2cbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Presentation/Nop.Web/Controllers/BlogController.cs
Expand Up @@ -115,7 +115,7 @@ public virtual IActionResult ListRss(int languageId)
var feed = new RssFeed(
$"{_storeContext.CurrentStore.GetLocalized(x => x.Name)}: Blog",
"Blog",
new Uri(_webHelper.GetStoreLocation(false)),
new Uri(_webHelper.GetStoreLocation()),
DateTime.UtcNow);

if (!_blogSettings.Enabled)
Expand Down
2 changes: 1 addition & 1 deletion src/Presentation/Nop.Web/Controllers/NewsController.cs
Expand Up @@ -100,7 +100,7 @@ public virtual IActionResult ListRss(int languageId)
var feed = new RssFeed(
$"{_storeContext.CurrentStore.GetLocalized(x => x.Name)}: News",
"News",
new Uri(_webHelper.GetStoreLocation(false)),
new Uri(_webHelper.GetStoreLocation()),
DateTime.UtcNow);

if (!_newsSettings.Enabled)
Expand Down
2 changes: 1 addition & 1 deletion src/Presentation/Nop.Web/Controllers/ProductController.cs
Expand Up @@ -223,7 +223,7 @@ public virtual IActionResult NewProductsRss()
var feed = new RssFeed(
$"{_storeContext.CurrentStore.GetLocalized(x => x.Name)}: New products",
"Information about products",
new Uri(_webHelper.GetStoreLocation(false)),
new Uri(_webHelper.GetStoreLocation()),
DateTime.UtcNow);

if (!_catalogSettings.NewProductsEnabled)
Expand Down

0 comments on commit a0f2cbc

Please sign in to comment.