We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3955415 commit cddb8f3Copy full SHA for cddb8f3
resources/views/listings.php
@@ -0,0 +1 @@
1
+<h1>listings</h1>
routes/web.php
@@ -15,22 +15,5 @@
15
*/
16
17
Route::get('/', function () {
18
- return view('welcome');
19
-});
20
-
21
-Route::get('/hello', function(){
22
- return response('<h1>Hello World!</h1>', 200)
23
- ->header('Content-Type', 'text/plain')
24
- ->header('foo', 'bar');
25
26
27
-Route::get('/posts/{id}', function($id){
28
- //dd($id);
29
- //ddd($id);
30
- return response('Post ' . $id);
31
-})->where('id', '[0-9]+');
32
33
-Route::get('/search', function(Request $request){
34
- //dd($request->name . ' '. $request->city);
35
- return $request->name . ' '. $request->city;
+ return view('listings');
36
});
0 commit comments