Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ridwan Hidayat
go-wisata
Commits
8ab21c45
Commit
8ab21c45
authored
2 years ago
by
Salsabila Fithriyah
Browse files
Options
Download
Email Patches
Plain Diff
rating aja udah
parent
fa7b4acd
main
salsabilifee
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/Models/Tempat.php
+1
-1
app/Models/Tempat.php
routes/web.php
+2
-1
routes/web.php
with
3 additions
and
2 deletions
+3
-2
app/Models/Tempat.php
View file @
8ab21c45
...
...
@@ -10,7 +10,7 @@ class Tempat extends Model
{
use
HasFactory
;
protected
$table
=
"
tb_tempat
"
;
protected
$table
=
""
;
protected
$guarded
=
[];
protected
$fillable
=
[
'user_id'
,
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
8ab21c45
...
...
@@ -201,7 +201,8 @@ Route::group([
Route
::
get
(
'/transaksi/tambah/katalog'
,
[
TiketController
::
class
,
'do_tambah_transaksi_katalog'
])
->
name
(
'tambah.katalog'
);
Route
::
post
(
'/transaksi/tambah/kuliner'
,
[
TiketController
::
class
,
'do_tambah_transaksi_kuliner'
]);
Route
::
get
(
'/ratingkuliner/{kode}'
,
[
App\Http\Controllers\KulinerController
::
class
,
'penilaian'
]);
Route
::
post
(
'/create_ratingkuliner/{id}'
,
[
App\Http\Controllers\KulinerController
::
class
,
'tambah_rating'
]);
Route
::
post
(
'/ratingkuliner/{kode}'
,
[
App\Http\Controllers\KulinerController
::
class
,
'tambah_rating'
]);
Route
::
put
(
'/ratingkuliner/{kode}'
,
[
App\Http\Controllers\KulinerController
::
class
,
'put_rating'
]);
Route
::
get
(
'/detail/kuliner/komentar/delete/{id}'
,
[
KulinerController
::
class
,
'delete_rating'
]);
Route
::
post
(
'/komentar/update/{id}'
,
[
KulinerController
::
class
,
'update_rating'
]);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help