# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/actionpack-3.0.9/lib/action_controller/metal/url_for.rb, line 15 def _routes raise "In order to use #url_for, you must include routing helpers explicitly. " "For instance, `include Rails.application.routes.url_helpers" end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/actionpack-3.0.9/lib/action_controller/metal/url_for.rb, line 7 def url_options super.reverse_merge( :host => request.host_with_port, :protocol => request.protocol, :_path_segments => request.symbolized_path_parameters ).merge(:script_name => request.script_name) end
Generated with the Darkfish Rdoc Generator 2.