Finished generate url for polymorphic relationships