Module Facebooker::Rails::Routing::RouteSetExtensions
In: lib/facebooker/rails/routing.rb

Methods

Public Class methods

[Source]

# File lib/facebooker/rails/routing.rb, line 5
        def self.included(base)
          base.alias_method_chain :extract_request_environment, :facebooker
        end

Public Instance methods

[Source]

# File lib/facebooker/rails/routing.rb, line 9
        def extract_request_environment_with_facebooker(request)
          env = extract_request_environment_without_facebooker(request)
          env.merge :canvas => (request.parameters[:fb_sig_in_canvas]=="1")
        end

[Validate]