Browse Source

doc fix.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
d265635663
  1. 2
      docs/guide/rest.md

2
docs/guide/rest.md

@ -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),
];
}
}

Loading…
Cancel
Save