--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Write URLs from arbitrary places in your codebase, such as your mailers.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  class MyMailer\n    include ActionController::UrlWriter\n    default_url_options[:host] = 'www.basecamphq.com'\n\n    def signup_url(token)\n      url_for(:controller =&gt; 'signup', action =&gt; 'index', :token =&gt; token)\n    end\n end\n"
- !ruby/struct:SM::Flow::P 
  body: In addition to providing <tt>url_for</tt>, named routes are also accessible after including UrlWriter.
constants: []

full_name: ActionController::UrlWriter
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: url_for
name: UrlWriter
superclass: 
