Permalink
Browse files

Merge pull request #19231 from prathamesh-sonpatki/fix-url-for-docume…

…ntation

 Fix documentation of url_for module [ci skip]
  • Loading branch information...
guilleiguaran committed Mar 6, 2015
2 parents 959fd6a + e049319 commit 809527b282051691d00cee6a44c8e87c5b2adec5
Showing with 4 additions and 1 deletion.
  1. +4 −1 actionpack/lib/action_controller/metal/url_for.rb
@@ -4,7 +4,10 @@ module ActionController
#
# In addition to <tt>AbstractController::UrlFor</tt>, this module accesses the HTTP layer to define
# url options like the +host+. In order to do so, this module requires the host class
# to implement +env+ and +request+, which need to be a Rack-compatible.
# to implement +env+ which needs to be Rack-compatible and +request+
# which is either instance of +ActionDispatch::Request+ or an object
# that responds to <tt>host</tt>, <tt>optional_port</tt>, <tt>protocol</tt> and
# <tt>symbolized_path_parameter</tt> methods.
#
# class RootUrl
# include ActionController::UrlFor

0 comments on commit 809527b

Please sign in to comment.