Class: ActionController::Routing::Optimisation::PositionalArgumentsWithAdditionalParams

Inherits:
Object
  • Object
show all
Defined in:
lib/url_rewriter.rb

Instance Method Summary collapse

Instance Method Details

#guard_conditions_with_secure_optionObject



18
19
20
# File 'lib/url_rewriter.rb', line 18

def guard_conditions_with_secure_option
  guard_conditions_without_secure_option + ['!args.last.has_key?(:secure)']
end