@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::get('/', function () { |
|
14 | +Route::get('/', function() { |
|
15 | 15 | return view('welcome'); |
16 | 16 | }); |
17 | 17 | |
@@ -24,31 +24,4 @@ discard block |
||
24 | 24 | // Home routes |
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | -<<<<<<< HEAD |
|
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 27 | \ No newline at end of file |
28 | +<< << <<< HEAD |
@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -25,30 +25,3 @@ |
||
25 | 25 | Route::get('/home', 'HomeController@index'); |
26 | 26 | |
27 | 27 | <<<<<<< HEAD |
28 | -Route::get('/callbacks', 'CallbackController@index')->name('callbacks.index'); |
|
29 | -Route::get('/callbacks/register', 'CallbackController@register')->name('callbacks.register'); |
|
30 | -Route::get('/callbacks/display/{id}', 'CallbackController@edit')->name('callbacks.display'); |
|
31 | -Route::post('/callbacks', 'CallbackController@store')->name('callbacks.store'); |
|
32 | - |
|
33 | -======= |
|
34 | -// Costumers routes |
|
35 | ->>>>>>> b65ccccd988a46329b5b01893711e0fcc8cb0b01 |
|
36 | -Route::get('/customers', 'CustomersController@index')->name('customers.index'); |
|
37 | -Route::get('/customers/register', 'CustomersController@register')->name('customers.register'); |
|
38 | -Route::get('/customers/display/{id}', 'CustomersController@edit')->name('customers.display'); |
|
39 | -Route::post('/customers', 'CustomersController@store')->name('customers.store'); |
|
40 | - |
|
41 | -// Status routes |
|
42 | -Route::get('/status/available', 'StaffController@setAvailable')->name('status.available'); |
|
43 | -Route::get('/status/unavailable', 'StaffController@setUnavailable')->name('status.unavailable'); |
|
44 | - |
|
45 | -// Profile routes |
|
46 | -Route::get('/profile', 'StaffController@profile')->name('staff.index'); |
|
47 | - |
|
48 | -// Staff routes |
|
49 | -Route::get('/staff', 'StaffController@index')->name('profile'); |
|
50 | -Route::get('/staff/edit/{id}', 'StaffController@edit')->name('staff.edit'); |
|
51 | -Route::post('/staff/edit/{id}', 'StaffController@update')->name('staff.update'); |
|
52 | -Route::get('/staff/create', 'StaffController@create')->name('staff.create'); |
|
53 | -Route::post('/staff/create', 'StaffController@store')->name('staff.store'); |
|
54 | -Route::get('/staff/delete/{id}', 'StaffController@destroy')->name('staff.delete'); |
|
55 | 28 | \ No newline at end of file |
@@ -10,6 +10,6 @@ |
||
10 | 10 | { |
11 | 11 | public function index() |
12 | 12 | { |
13 | - return view('callbacks/list'); |
|
13 | + return view('callbacks/list'); |
|
14 | 14 | } |
15 | 15 | } |