]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/PageRevision.php
added routes for zip export
[bookstack] / app / Entities / Models / PageRevision.php
index 6517b0080bace9a69fd8892972e1542ac83a34bc..10ff6d901c438a87d9d3fbb241636d3ec44b1233 100644 (file)
@@ -2,9 +2,9 @@
 
 namespace BookStack\Entities\Models;
 
-use BookStack\Auth\User;
-use BookStack\Interfaces\Loggable;
-use BookStack\Model;
+use BookStack\Activity\Models\Loggable;
+use BookStack\App\Model;
+use BookStack\Users\Models\User;
 use Carbon\Carbon;
 use Illuminate\Database\Eloquent\Relations\BelongsTo;
 
@@ -31,7 +31,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
 class PageRevision extends Model implements Loggable
 {
     protected $fillable = ['name', 'text', 'summary'];
-    protected $hidden = ['html', 'markdown', 'restricted', 'text'];
+    protected $hidden = ['html', 'markdown', 'text'];
 
     /**
      * Get the user that created the page revision.