Login working

This commit is contained in:
Deon George
2018-12-11 23:31:44 +11:00
parent 4d65bb05a1
commit e60a7d9045
14 changed files with 289 additions and 92 deletions

View File

@@ -12,6 +12,11 @@ class Frame extends Model
return $this->belongsTo(CUG::class);
}
public function route()
{
return $this->hasOne(FrameMeta::class);
}
protected static function boot() {
parent::boot();

10
app/Models/FrameMeta.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class FrameMeta extends Model
{
protected $table = 'framemeta';
}