Commit d2656356 by Qiang Xue

doc fix.

parent 348dfa78
......@@ -390,7 +390,7 @@ class User extends ActiveRecord implements Linkable
public function getLinks()
{
return [
Link::REL_SELF => Url::action(['user', 'id' => $this->id], true),
Link::REL_SELF => Url::to(['user', '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