I think it might be "solved" by including :method => :post as below ..
<%= link_to "Add Photos", {:controller => 'entries', :action =>
'showphotos'}, {:method => :post, :remote => true} %>
Then it seems to work ...
It also works with:
<%= link_to "Add Photos", showphotos_path, :method => :post, :remote
=> true %>
Thanks for all the help.
I'm not really sure why I need to include the :method => :post
thing .... but I'm sure it'll all become clear ...
--
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.