extracted favorite_link from view

[ci skip]