Browse Source

created search model and controller etc.

master
jk 3 years ago
parent
commit
28d15e635f
  1. 10
      app/Http/Controllers/SearchController.php
  2. 11
      app/Models/Search.php
  3. 8
      resources/views/search.blade.php
  4. 0
      resources/views/search/index.blade.php
  5. 0
      resources/views/search/results.blade.php

10
app/Http/Controllers/SearchController.php

@ -0,0 +1,10 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SearchController extends Controller
{
//
}

11
app/Models/Search.php

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Search extends Model
{
use HasFactory;
}

8
resources/views/search.blade.php

@ -0,0 +1,8 @@
@extends('layouts.app')
@section('content')
<div class="container">
@yield('main')
</div>
@endsection

0
resources/views/search/index.blade.php

0
resources/views/search/results.blade.php

Loading…
Cancel
Save