Displaying 1 result from an estimated 1 matches for "showphoto".
Did you mean:
showphotos
2010 Aug 13
11
Link to remote and the equivalent in Rails 3
...t all I want to do is click a link,
some controller action trigger, a render :update do |page| call to
trigger and then I''ll be happy!!
But no luck so far ...
So ... with the following line:
<%= link_to "Add Photos", entries_path, {:controller
=> :entries, :action => :showphotos, :remote => true} %>
I get the following error:
Started GET "/entries" for 127.0.0.1 at Fri Aug 13 23:13:18 +0100 2010
Processing by EntriesController#index as JS
Rendered entries/index.js.erb (0.2ms)
Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
Started GET &q...