Closed chart3030 closed 10 years ago
Yea. We should use something like https://github.com/FriendlyId/friendly_id but we first need to decide what the slug should look like.
If RevTilt starts allowing for reviews from other sites like Foursquare, we should be sure that the slugs don't get confused. In other words if we use the one from yelp.com/biz/:slug
if that slug leads to a different business on foursquare that could be confusing.
I guess one way to deal with that is to prefix the URL with the service the original review came from like you did with tags
in your example URL. So it would be something like http://revtilt.com/organizations/yelp/karate-for-all-tustin
instead of http://revtilt.com/organizations/497.
That'll be easiest to implement. I think.
Current: http://revtilt.com/organizations/447
Should be: http://revtilt.com/places/tags/name-of-service-provider
Right?