Skip to content

Commit

Permalink
Merge pull request #122 from Laravel-Backpack/add-v5-support
Browse files Browse the repository at this point in the history
added v5 support
  • Loading branch information
tabacitu authored Feb 4, 2022
2 parents 2c9ecb1 + 92a07d4 commit 56bdd1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"backpack/crud": "^4.2.0|^4.1.0",
"backpack/crud": "^4.0|^5.0",
"cviebrock/eloquent-sluggable": "^9.0||^8.0||^7.0||^6.0||4.8"
},
"require-dev": {
Expand Down
1 change: 0 additions & 1 deletion src/app/Http/Controllers/Admin/PageCrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class PageCrudController extends CrudController
use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation { create as traitCreate; }
use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation { edit as traitEdit; }
use \Backpack\CRUD\app\Http\Controllers\Operations\CloneOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\DeleteOperation;
use PageTemplates;

Expand Down
4 changes: 2 additions & 2 deletions src/app/PageTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private function services()
$this->crud->addField([
'name' => 'content',
'label' => trans('backpack::pagemanager.content'),
'type' => 'wysiwyg',
'type' => 'summernote',
'placeholder' => trans('backpack::pagemanager.content_placeholder'),
]);
}
Expand All @@ -64,7 +64,7 @@ private function about_us()
$this->crud->addField([
'name' => 'content',
'label' => trans('backpack::pagemanager.content'),
'type' => 'wysiwyg',
'type' => 'summernote',
'placeholder' => trans('backpack::pagemanager.content_placeholder'),
]);
}
Expand Down

0 comments on commit 56bdd1e

Please sign in to comment.