Class: ActionController::Routing::Route

Inherits:
Object
  • Object
show all
Defined in:
lib/facebooker/rails/extensions/routing.rb

Instance Method Summary collapse

Instance Method Details

#recognition_conditions_with_facebookerObject



2
3
4
5
6
# File 'lib/facebooker/rails/extensions/routing.rb', line 2

def recognition_conditions_with_facebooker
  defaults = recognition_conditions_without_facebooker 
  defaults << " env[:canvas] == conditions[:canvas] " if conditions[:canvas]
  defaults
end