= private = protected
protocol()
Return ‘https://’ if this is an SSL request and ‘http://’ otherwise.
# File actionpack/lib/action_controller/request.rb, line 148 def protocol ssl? ? 'https://' : 'http://' end