Browse files

check flash in fb_canvas

  • Loading branch information...
1 parent 742472b commit 6db67185ab775a0bdb0d97d9b590cb6a8eef424c @ahmadeeva-su committed Mar 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/facepalm/rails/controller.rb
View
2 lib/facepalm/rails/controller.rb
@@ -53,7 +53,7 @@ def params_without_facebook_data
# Did the request come from canvas app
def fb_canvas?
- request.env['HTTP_SIGNED_REQUEST'].present?
+ request.env['HTTP_SIGNED_REQUEST'].present? || flash[:signed_request].present?
end
private

0 comments on commit 6db6718

Please sign in to comment.