Fix blog comment endpoint path and add regression test
This commit is contained in:
parent
0d3fbf22c3
commit
0fd9e40d67
4 changed files with 41 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ namespace Yavsc.Org.Controllers
|
|||
try
|
||||
{
|
||||
var blog = await blogSpotService.Details(User, id.Value);
|
||||
ViewBag.apicmtctlr = "/api/blogcomments";
|
||||
ViewBag.apicmtctlr = "/api/v1/blogcomments";
|
||||
ViewBag.moderatoFlag = User.IsInMsRole(YavscConstants.BlogModeratorGroupName);
|
||||
|
||||
return View(blog);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue