-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathroutes.php
45 lines (34 loc) · 1.66 KB
/
routes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
use BaseClass\Route;
Route::get('/', 'LoginController@index');
Route::post('/login', 'LoginController@login');
Route::get('/logout', 'LoginController@logout');
Route::get('/welcome', 'WelcomeController@index');
Route::get('/activity-list', 'WelcomeController@activityList');
/* Department Feature */
Route::get('/department-list', 'DepartmentController@index');
Route::get('/department-form', 'DepartmentController@create');
Route::post('/department-store', 'DepartmentController@store');
Route::post('/department-update', 'DepartmentController@update');
Route::get('/department-delete', 'DepartmentController@delete');
/* Employee Feature */
Route::get('/employee-list', 'EmployeeController@index');
Route::get('/employee-form', 'EmployeeController@create');
Route::post('/employee-store', 'EmployeeController@store');
Route::post('/employee-update', 'EmployeeController@update');
Route::get('/employee-delete', 'EmployeeController@delete');
/* Employee Feature */
Route::get('/leave-list', 'LeaveController@index');
Route::get('/leave-form', 'LeaveController@create');
Route::post('/leave-store', 'LeaveController@store');
Route::post('/leave-update', 'LeaveController@update');
Route::get('/leave-delete', 'LeaveController@delete');
Route::get('/leave-status', 'LeaveController@status');
/* Salary Feature*/
Route::get('/salary-list','SalaryController@index');
Route::get('/salary-form','SalaryController@create');
Route::post('/salary-store','SalaryController@store');
Route::get('/ajaxList','WelcomeController@ajaxList');
Route::get('/reports','WelcomeController@reports');
Route::get('/error-404', 'ErrorController@pageNotFound');
//Route::any('*', 'ErrorController@notFoud');