search for: is_facebook_request

Displaying 1 result from an estimated 1 matches for "is_facebook_request".

2007 Dec 11
0
before_filter work around
Hi All, I am working on a rails app that has facebook and non-facebook portions and since facebooker seems to want to resolve to the default route of "/" i''ve written a little before filter that seems to make these two exist OK. def is_facebook_request? redirect_to(params.merge({ :controller => ''facebook_accounts'' })) and return false if params.include?(''fb_sig'') end I just merge my facebook controller into the params hash and redirect to the facebook controller for methods which try and resolve...