aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/url_for.rb
diff options
context:
space:
mode:
authorNick Sutterer <apotonick@gmail.com>2011-05-12 09:31:36 +0200
committerNick Sutterer <apotonick@gmail.com>2011-05-12 09:31:36 +0200
commite3b3f416b57f5642ea25078485f7e9394ad04526 (patch)
tree494662d709d2e08e98bbba1209f7060dfaec6fe3 /actionpack/lib/abstract_controller/url_for.rb
parenta117ac431ad3624d047f84f0860c301a844f55c9 (diff)
downloadrails-e3b3f416b57f5642ea25078485f7e9394ad04526.tar.gz
rails-e3b3f416b57f5642ea25078485f7e9394ad04526.tar.bz2
rails-e3b3f416b57f5642ea25078485f7e9394ad04526.zip
added docs for AbC::UrlFor and AC::UrlFor.
Diffstat (limited to 'actionpack/lib/abstract_controller/url_for.rb')
-rw-r--r--actionpack/lib/abstract_controller/url_for.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/url_for.rb b/actionpack/lib/abstract_controller/url_for.rb
index e5d5bef6b4..d2245d0b0d 100644
--- a/actionpack/lib/abstract_controller/url_for.rb
+++ b/actionpack/lib/abstract_controller/url_for.rb
@@ -1,3 +1,9 @@
+# Includes #url_for into the host class (e.g. an abstract controller or mailer). The class
+# has to provide a RouteSet by implementing the #_routes methods. Otherwise, an exception
+# will be raised.
+#
+# Note that this module is completely decoupled from HTTP - the only requirement is a valid
+# #_routes implementation.
module AbstractController
module UrlFor
extend ActiveSupport::Concern