diff --git a/src/models/Link.php b/src/models/Link.php
index <HASH>..<HASH> 100644
--- a/src/models/Link.php
+++ b/src/models/Link.php
@@ -16,12 +16,7 @@ class Link extends \hipanel\base\Model
 {
     use \hipanel\base\ModelTrait;
 
-    public static function index()
-    {
-        return 'ips';
-    }
-
-    public static function type()
+    public static function from()
     {
         return 'ip';
     }
changed index/type -> `from` in ActiveRecord