Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove bogus fix

  • Loading branch information...
commit e695a4ddee4b737e56005de3c114b52b23514f9b 1 parent f134d12
Mike Mangino mmangino authored
6 lib/facebooker/rails/facebook_url_rewriting.rb
@@ -44,11 +44,7 @@ def can_safely_access_request_parameters?
44 44
45 45 def rewrite_url_with_facebooker(*args)
46 46 options = args.first.is_a?(Hash) ? args.first : args.last
47   - if Rails.version >= '2.3.8'
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
2  lib/facebooker/version.rb
@@ -2,7 +2,7 @@ module Facebooker #:nodoc:
2 2 module VERSION #:nodoc:
3 3 MAJOR = 1
4 4 MINOR = 0
5   - TINY = 72
  5 + TINY = 73
6 6
7 7 STRING = [MAJOR, MINOR, TINY].join('.')
8 8 end

0 comments on commit e695a4d

Please sign in to comment.
Something went wrong with that request. Please try again.