Skip to content

Commit 173992a

Browse files
Update README.md
1 parent 6b8441b commit 173992a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,18 @@ class HomeController extends Controller
7878
`
7979
Finally, create a view file called "index.blade.php" in App/Modules/Admin/Views folder with following contents:
8080
81+
8182
`<h1>Welcome to Admin Module</h1>`
8283

84+
8385
Now, once we have folder and file structure defined we have to enable admin module:
8486

8587
open config/modules.php file and add following line:
8688

8789

88-
`return [`
89-
` 'admin' => 'Admin Panel'`
90-
`];`
90+
`return [
91+
'admin' => 'Admin Panel'
92+
];
93+
`
9194

9295
Done, go to browser and hit your local website instance and see if you get "Welcome to Admin Module" message on your screen

0 commit comments

Comments
 (0)