Files
2012-02-21 01:15:00 -05:00

1 line
1.8 KiB
JSON

[{"user_id": 369, "stars": [], "topic_id": 13090, "date_created": 1300141497.5141079, "message": "We are using omniauth to deal with Twitter and Facebook OAuth. The routes are /auth/facebook and /auth/twitter on our site. However, we also have /:channel/:video_id as one of our routes and it catches the /auth/facebook as params[:channel]=> 'auth' and params[:video_id]=>'facebook'. Omniauth seems to want the routes to fall thru in order to have the facebook log in page to show up.", "group_id": 447, "id": 351591}, {"user_id": 2190, "stars": [], "topic_id": 13090, "date_created": 1300334514.0146379, "message": "Only /auth/facebook fails? Also you might wanna check the order of your routes, as they're match by creation order", "group_id": 447, "id": 371426}, {"user_id": 408, "stars": [], "topic_id": 13090, "date_created": 1300778659.5481169, "message": "order matters", "group_id": 447, "id": 405426}, {"user_id": 23325, "stars": [], "topic_id": 13090, "date_created": 1300812550.3896401, "message": "Run rake routes", "group_id": 447, "id": 408984}, {"user_id": 23325, "stars": [], "topic_id": 13090, "date_created": 1300812572.670579, "message": "You can also test routes in the console", "group_id": 447, "id": 408989}, {"user_id": 11378, "stars": [], "topic_id": 13090, "date_created": 1301349398.0257461, "message": "Or use constraints", "group_id": 447, "id": 462543}, {"user_id": 25530, "stars": [], "topic_id": 13090, "date_created": 1301381632.303987, "message": "puts your route below the ones of omniauth", "group_id": 447, "id": 467175}, {"user_id": 21814, "stars": [], "topic_id": 13090, "date_created": 1302098765.6169131, "message": "Essentially, the route /:channel/:video_id will catch all routes formatted like /a/b, so mke sure that route is below your Twitter and Facebook routes in your routes.rb file.", "group_id": 447, "id": 559597}]