search for: is_link_to_canvas

Displaying 1 result from an estimated 1 matches for "is_link_to_canvas".

2007 Dec 20
0
Relative URL fix
...url = BASE_URL + url end end url end Here is a slight change to the rewrite_url_with_facebooker method, which deletes the :skip_relative_url_root key if it is true. def rewrite_url_with_facebooker(*args) options = args.first.is_a?(Hash) ? args.first : args.last is_link_to_canvas=link_to_canvas?(@request.request_parameters, options) options[:skip_relative_url_root] ||= !is_link_to_canvas options.delete(:skip_relative_url_root) if options [:skip_relative_url_root] == true && !is_link_to_canvas if is_link_to_canvas && !options.has_key?...