Skip to content

Commit 66ffb46

Browse files
committed
[ci skip] nope the called method is on the routes module
1 parent 32e2ac5 commit 66ffb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/redirecting.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _compute_redirect_to_location(request, options) # :nodoc:
164164
# # If request.host is on https://example.com or https://app.example.com, you'd get:
165165
# url_from("https://dev.example.com/profile") # => nil
166166
#
167-
# NOTE: there's a similarity with {url_for}[rdoc-ref:ActionView::RoutingUrlFor#url_for], which generates an internal URL from various options from within the app, e.g. <tt>url_for(@post)</tt>.
167+
# NOTE: there's a similarity with {url_for}[rdoc-ref:ActionDispatch::Routing::UrlFor#url_for], which generates an internal URL from various options from within the app, e.g. <tt>url_for(@post)</tt>.
168168
# However, #url_from is meant to take an external parameter to verify as in <tt>url_from(params[:redirect_url])</tt>.
169169
def url_from(location)
170170
location = location.presence

0 commit comments

Comments
 (0)