]> BookStack Code Mirror - bookstack/blobdiff - app/Activity.php
Major permission naming refactor and database migration cleanup
[bookstack] / app / Activity.php
index 1fd00abea6de6d0627c386ca39bcc9cc3ae2b38d..d43419c17f495bb92c0f0b220a0f9c3fee8ceced 100644 (file)
@@ -26,7 +26,7 @@ class Activity extends Model
      */
     public function user()
     {
-        return $this->belongsTo('BookStack\User');
+        return $this->belongsTo(User::class);
     }
 
     /**