facebooker 1.0.70 → 1.0.71
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,7 @@ module ::ActionController
|
|
44
44
|
|
45
45
|
def rewrite_url_with_facebooker(*args)
|
46
46
|
options = args.first.is_a?(Hash) ? args.first : args.last
|
47
|
-
is_link_to_canvas = link_to_canvas?(@request.request_parameters, options)
|
47
|
+
is_link_to_canvas = @request.env["REQUEST_METHOD"] == "POST" && link_to_canvas?(@request.request_parameters, options)
|
48
48
|
if is_link_to_canvas && !options.has_key?(:host)
|
49
49
|
options[:host] = Facebooker.canvas_server_base
|
50
50
|
end
|
data/lib/facebooker/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebooker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Fowler
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-17 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|