# File helper.rb, line 11 def link_to(name, options = {}, html_options = nil) href=[] href<<""<<options[:controller] if options[:controller] # "" to make sure that a starting slash is added href<<options[:action] href<<options[:id] if options[:id] "<a href='#{File.join(href)}'#{hash2attributes(html_options)}>#{name}</a>" end