diff --git a/Modules/Employee/app/Http/Controllers/EmployeeController.php b/Modules/Employee/app/Http/Controllers/EmployeeController.php index cf8691d..b911669 100644 --- a/Modules/Employee/app/Http/Controllers/EmployeeController.php +++ b/Modules/Employee/app/Http/Controllers/EmployeeController.php @@ -5,7 +5,6 @@ namespace Modules\Employee\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; -use Illuminate\Http\Response; class EmployeeController extends Controller { @@ -22,7 +21,8 @@ class EmployeeController extends Controller */ public function create() { - return view('employee::create'); + $data['title'] = 'Create Employee'; + return view('employee::create', $data); } /** diff --git a/Modules/Employee/resources/views/create.blade.php b/Modules/Employee/resources/views/create.blade.php new file mode 100644 index 0000000..f57f6e4 --- /dev/null +++ b/Modules/Employee/resources/views/create.blade.php @@ -0,0 +1,26 @@ +@extends('layouts.app') + +@section('content') +
Add Attached files here.
+ +