Browse Source

Update Instance model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
f5d809c14b
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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}");
+	}
 }