diff --git a/Controllers/WebNew/DetailItemController.cs b/Controllers/WebNew/DetailItemController.cs index 265f465..6b77c8c 100644 --- a/Controllers/WebNew/DetailItemController.cs +++ b/Controllers/WebNew/DetailItemController.cs @@ -4,7 +4,7 @@ namespace WebApplication2.Controllers.WebNew { public class DetailItemController : Controller { - [HttpGet("/WebNew/DetailItem/")] + [HttpGet("/WebNew/Layanan/DetailItem/")] public IActionResult Index(string kode) { ViewBag.Kode = kode; @@ -14,7 +14,7 @@ namespace WebApplication2.Controllers.WebNew [HttpGet("/WebNew/DetailItem/GetDetail/")] public IActionResult GetDetail(string kode) { - var path = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/webnew/json", "DetailItem.json"); + var path = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/webnew/json", "detail-item.json"); if (!System.IO.File.Exists(path)) return NotFound(); diff --git a/Views/WebNew/Berita/DetailBerita.cshtml b/Views/WebNew/Berita/DetailBerita.cshtml index 274a79b..835c22c 100644 --- a/Views/WebNew/Berita/DetailBerita.cshtml +++ b/Views/WebNew/Berita/DetailBerita.cshtml @@ -102,7 +102,7 @@
- + Baca Selengkapnya diff --git a/Views/WebNew/Home/Index.cshtml b/Views/WebNew/Home/Index.cshtml index 809b95a..b257c2d 100644 --- a/Views/WebNew/Home/Index.cshtml +++ b/Views/WebNew/Home/Index.cshtml @@ -19,11 +19,11 @@
-
-
-
-
+
+
+
+
+