We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Backpack\PageManager\app\Models; |
4 | 4 | |
5 | 5 | use Backpack\CRUD\CrudTrait; |
6 | -use Illuminate\Database\Eloquent\Model; |
|
7 | 6 | use Cviebrock\EloquentSluggable\Sluggable; |
8 | 7 | use Cviebrock\EloquentSluggable\SluggableScopeHelpers; |
8 | +use Illuminate\Database\Eloquent\Model; |
|
9 | 9 | |
10 | 10 | class Page extends Model |
11 | 11 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Backpack\PageManager; |
4 | 4 | |
5 | -use Route; |
|
6 | 5 | use Illuminate\Routing\Router; |
7 | 6 | use Illuminate\Support\ServiceProvider; |
8 | 7 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use App\PageTemplates; |
6 | 6 | // VALIDATION: change the requests to match your own file names if you need form validation |
7 | 7 | use Backpack\CRUD\app\Http\Controllers\CrudController; |
8 | -use Backpack\PageManager\app\Http\Requests\PageRequest as StoreRequest; |
|
9 | 8 | use Backpack\PageManager\app\Http\Requests\PageRequest as UpdateRequest; |
10 | 9 | use Backpack\PageManager\app\TraitReflections; |
11 | 10 |
@@ -109,6 +109,9 @@ |
||
109 | 109 | return $openButton .' '.$revisionsButton; |
110 | 110 | } |
111 | 111 | |
112 | + /** |
|
113 | + * @param string $slug |
|
114 | + */ |
|
112 | 115 | public function createMissingPage($slug) |
113 | 116 | { |
114 | 117 | $pages = collect($this->getUniquePages()); |