Displaying 2 results from an estimated 2 matches for "option_overrid".
Did you mean:
option_override
2008 Mar 06
5
Setting :canvas => false for URL generation doesn''t always work?
...I''m
not sure if it''s actually a fix, or just solving the symptom or improper use
on my part, etc. What I did to fix it was change
Facebooker''s UrlRewriter#link_to_canvas? (in facebook_url_rewriting.rb) to
look like this:
def link_to_canvas?(params, options)
option_override = options[:canvas]
if option_override == false # important to check for false. nil should
use default behavior
options[:only_path] = false
RAILS_DEFAULT_LOGGER.debug "set options[:only_path] to false"
return false
end
option_override || @request....
2008 Jul 11
0
canvas url rewriting fails for templates loaded through ajax
...k_url_rewriting.rb
index 00b1e1d..e81a316 100644
---
a/vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb
+++
b/vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb
@@ -11,7 +11,7 @@ module ::ActionController
def link_to_canvas?(params, options)
option_override = options[:canvas]
return false if option_override == false # important to check for
false. nil should use default behavior
- option_override || @request.parameters["fb_sig_in_canvas"] == "1" ||
@request.parameters[:fb_sig_in_canvas] == "1"
+ option_o...