ssl_requirement
ssl_requirement copied to clipboard
Make url_for_with_secure_option & url_for_with_non_ssl_host compatible
with Rails 4.2 ActionDispatch::Routing::RouteSet.
Arity of methods in ActionDispatch::Routing::RouteSet slightly changed. Now they are more liberal and accept more arguments as *args
.
This change is compatible with Rails 3 & 4.