Skip to content

Commit

Permalink
follow the naming convention.
Browse files Browse the repository at this point in the history
Signed-off-by: Rajan <rajan@freshbits.in>
  • Loading branch information
rajan-parmar committed Dec 5, 2019
1 parent 436b153 commit 7fc63db
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(document).ready(function(){
$("#custom-laratable").DataTable({
serverSide: true,
ajax: "{{ route('custom_Laratable') }}",
ajax: "{{ route('custom_laratable') }}",
columns: [
{ name: 'Name' },
{ name: 'start_date' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{ name: 'last_name' },
{ name: 'start_date' },
{ name: 'salary' },
{ name: 'userRoles', orderable: false },
{ name: 'user_roles', orderable: false },
],
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
columns: [
{ name: 'title' },
{ name: 'image_url', searchable: false },
{ name: 'postLiked', orderable: false },
{ name: 'post_liked', orderable: false },
],
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{ name: 'Name' },
{ name: 'start_date' },
{ name: 'salary' },
{ name: 'userComments', orderable: false },
{ name: 'user_comments', orderable: false },
],
});
});
Expand Down
8 changes: 4 additions & 4 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

Route::get('/', 'LaratableController@index');
Route::get('basic', 'LaratableController@basicLaratableData')->name('basic_laratable');
Route::get('custom', 'LaratableController@customLaratableData')->name('custom_Laratable');
Route::get('oneToOne', 'LaratableController@oneToOneData')->name('one_to_one');
Route::get('oneToMany', 'LaratableController@oneToManyData')->name('one_to_many');
Route::get('manyToManyData', 'LaratableController@manyToManyData')->name('many_to_many');
Route::get('custom', 'LaratableController@customLaratableData')->name('custom_laratable');
Route::get('one-to-one', 'LaratableController@oneToOneData')->name('one_to_one');
Route::get('one-to-Many', 'LaratableController@oneToManyData')->name('one_to_many');
Route::get('many-to-many', 'LaratableController@manyToManyData')->name('many_to_many');
Route::get('display', 'LaratableController@oneToManyPolyData')->name('one_to_many_poly');

0 comments on commit 7fc63db

Please sign in to comment.