On Tue, Mar 30, 2010 at 8:17 AM, Luan <[email protected]> wrote:

>    %form{:method => "post", :action => "/"}
>    / input{:type => "hidden", :name => "_method", :value => "post"}
>    %input{:type => "submit", :action => "/refresh/", :value => "Get"}

If you want the same effect as pressing F5, you want your method to be
"Get", not "Post."

You can also, I believe, reload with:

<a href="">Reload</a>

Cheers,
-Nate

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to