Browse Source

Update Instance model

Daniel Supernault 6 years ago
parent
commit
f5d809c14b
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/Instance.php

+ 5 - 0
app/Instance.php

@@ -60,4 +60,9 @@ class Instance extends Model
 			'id'
 		);
 	}
+
+	public function getUrl()
+	{
+		return url("/i/admin/instances/show/{$this->id}");
+	}
 }