facebooker 1.0.72 → 1.0.73
Sign up to get free protection for your applications and to get access to all the features.
@@ -44,11 +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
|
-
|
48
|
-
is_link_to_canvas = @request.env["REQUEST_METHOD"] == "POST" && link_to_canvas?(@request.request_parameters, options)
|
49
|
-
else
|
50
|
-
is_link_to_canvas = link_to_canvas?(@request.request_parameters, options)
|
51
|
-
end
|
47
|
+
is_link_to_canvas = link_to_canvas?(@request.request_parameters, options)
|
52
48
|
if is_link_to_canvas && !options.has_key?(:host)
|
53
49
|
options[:host] = Facebooker.canvas_server_base
|
54
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.73
|
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-24 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|