From 32b85917369e11c5193104239d85f1c03ad18b8c Mon Sep 17 00:00:00 2001 From: Bipin Paul Date: Thu, 15 Nov 2018 15:24:55 +0545 Subject: [PATCH] Remove wwwroot The path to the index.js file is `pages/books/index.js` instead of `wwwroot/pages/books/index.js`. --- docs/en/Tutorials/AspNetCore-Mvc/Part-II.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md b/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md index e35c4d5243..e0ec830727 100644 --- a/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md +++ b/docs/en/Tutorials/AspNetCore-Mvc/Part-II.md @@ -109,7 +109,7 @@ Just added a **New book** button to the **top right** of the table: ![bookstore-new-book-button](images/bookstore-new-book-button.png) -Open the `wwwroot/pages/books/index.js` and add the following code just after the datatable configuration: +Open the `pages/books/index.js` and add the following code just after the datatable configuration: ````js var createModal = new abp.ModalManager(abp.appPath + 'Books/CreateModal'); @@ -268,7 +268,7 @@ Open the `Pages/Books/Index.cshtml` page and change the table section as shown b * Just added a new `th` tag for the "Actions". -Open the `wwwroot/pages/books/index.js` and replace the content as below: +Open the `pages/books/index.js` and replace the content as below: ````js $(function () { @@ -327,7 +327,7 @@ You can run the application and edit any book by selecting the edit action. ### Deleting an Existing Book -Open the `wwwroot/pages/books/index.js` and add a new item to the `rowAction` `items`: +Open the `pages/books/index.js` and add a new item to the `rowAction` `items`: ````js { @@ -418,4 +418,4 @@ Run the application and try to delete a book. ### Next Part -See the [next part](Part-III.md) of this tutorial. \ No newline at end of file +See the [next part](Part-III.md) of this tutorial.