Class: ActionController::Request
- Inherits:
-
Object
- Object
- ActionController::Request
- Defined in:
- lib/facebooker/rails/facebook_url_rewriting.rb,
lib/facebooker/rails/extensions/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#query_parameters_with_facebooker ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/facebooker/rails/extensions/action_controller.rb', line 35 def query_parameters_with_facebooker if request_parameters.blank? query_parameters_without_facebooker else (query_parameters_without_facebooker||{}).reject {|key,value| key.to_s =~ /^fb_sig/} end end |
#relative_url_root ⇒ Object
10 11 12 |
# File 'lib/facebooker/rails/facebook_url_rewriting.rb', line 10 def relative_url_root Facebooker.path_prefix end |