Class: ActionController::AbstractRequest
- Inherits:
-
Object
- Object
- ActionController::AbstractRequest
- Defined in:
- lib/m_abstract_request.rb
Instance Method Summary collapse
Instance Method Details
#full_host ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/m_abstract_request.rb', line 4 def full_host if self.port == self.standard_port self.host else self.host_with_port end end |
#full_path ⇒ Object
16 17 18 |
# File 'lib/m_abstract_request.rb', line 16 def full_path self.full_sub_path + self.request_uri end |
#full_sub_path ⇒ Object
12 13 14 |
# File 'lib/m_abstract_request.rb', line 12 def full_sub_path self.protocol + self.full_host end |