Commit 2d5b20c9 by Ezekiel Fernandez

Fixed the route for the User link

parent e856cb6c
......@@ -156,7 +156,7 @@ class User extends ActiveRecord implements Linkable
public function getLinks()
{
return [
Link::REL_SELF => Url::to(['user', 'id' => $this->id], true),
Link::REL_SELF => Url::to(['user/view', 'id' => $this->id], true),
];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment