I am so frustrated. My HAML code is
%div{'id' => becca_chap_1_human_img_div}
%a{'id' => download_file_a, 'href' => '/public/LaunchBrowser.zip'}
= image_tag('PhotosOfBecca.png', :'id' => becca_chap_1_human_img)
The HAML parses correctly ...
Yet when I click on the image I get a routing error
Routing Error
No route matches "/public/LaunchBrowser.zip" with {:method=>:get}
What am I doing wrong?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en.