Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 4dc3ac3

Browse files
committed
undo models namespace fix
1 parent 2e64ad9 commit 4dc3ac3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Models/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App;
3+
namespace ctf0\SimpleMenu\Models;
44

55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\Support\Facades\Cache;

src/Models/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App;
3+
namespace ctf0\SimpleMenu\Models;
44

55
use Baum\Node;
66
use Illuminate\Support\Facades\Cache;
@@ -11,8 +11,8 @@
1111
class Page extends Node
1212
{
1313
use HasRoles, HasTranslations;
14-
1514
public $translatable = ['title', 'body', 'prefix', 'url'];
15+
1616
protected $guarded = ['id'];
1717

1818
public static function boot()

src/SimpleMenuServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function boot()
1313
{
1414
// config
1515
$this->publishes([
16-
__DIR__.'/config/simpleMenu.php' => config_path('simpleMenu.php'),
16+
__DIR__.'/config' => config_path(),
1717
], 'config');
1818

1919
// models

0 commit comments

Comments
 (0)