main.rb:

require 'sinatra'

get '/' do
    haml :index
end


views/index.haml:
%a{:href => "www.google.com"}link

when i run this program and click link in html page, it will direct to
localhost/www.google.com when i expected just www.google.com.

so what is the problem and how to solve this problem ?

-- 
Posted via http://www.ruby-forum.com/.