Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

Commit

Permalink
Fixin form action and creating route to controller
Browse files Browse the repository at this point in the history
  • Loading branch information
FauzanAr committed Apr 13, 2019
1 parent bf3f579 commit 4f910ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/LSdoctor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="row">
<div class="col-sm-12">
<br> <br>
{!! Form::open(['action' => 'SpecializationController@searchSpec','method'=> 'POST']) !!}
{!! Form::open(['action' => 'SpecializationController@searchSpecialty','method'=> 'POST']) !!}
@csrf
<div class="input-group">
{{-- <input type="text" class="form-control" placeholder="Cari tentang {{ $data['category'] }}..."> --}}
Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
// return view('LSdoctor');
// });
Route::get('/listdoctors', 'SpecializationController@indexUser')->name('list.doctor');
Route::post('/listdoctors/cari', 'SpecializationController@searchSpecialty');
Route::get('/searchdoctor','SpecializationController@indexSearch')->name('search.doctor');

// Route::get('/SearchDokter', function() {
Expand Down

0 comments on commit 4f910ae

Please sign in to comment.