Page navigation with link_to

hi sam, you can do this as joshua said, and some other methods, may be like this

1)        writer your on helper, some thing like this,        (you can send what ever extra options you want and handle it here,)

        def my_link_to_function(options)              "<a href='#{RAILS_ROOT}/#{options[:url]}'> #{options[:display_text]} </a>"         end 2)       one more options is that link_to internally uses content_tag so you can pass       directly pass :href options to link_to. (may be this leads to a kind of hard coding)

P.s: sorry, if i din't answer to your point.