1
0
Daniel Supernault 6 жил өмнө
parent
commit
f5d809c14b
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  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}");
+	}
 }