Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check flash in fb_canvas

  • Loading branch information...
commit 6db67185ab775a0bdb0d97d9b590cb6a8eef424c 1 parent 742472b
@ahmadeeva-su authored
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.
Something went wrong with that request. Please try again.