Browse Source

Added 'allow get' to json return for rss.

master
Teknikode 7 years ago
parent
commit
62399d605c
  1. 2
      Teknik/Areas/RSS/Controllers/RSSController.cs

2
Teknik/Areas/RSS/Controllers/RSSController.cs

@ -75,7 +75,7 @@ namespace Teknik.Areas.RSS.Controllers @@ -75,7 +75,7 @@ namespace Teknik.Areas.RSS.Controllers
return new RssResult(feed);
}
return Json(new { error = "Blog Not Found" });
return Json(new { error = "Blog Not Found" }, JsonRequestBehavior.AllowGet);
}
[AllowAnonymous]

Loading…
Cancel
Save