Call method with link_to

hi,

i have a table of objects and in my controller i have a dropfiles
action. when i add

link_to ‘Drop files’, {:action => ‘dropfiles’, :id => examination} %>

it says “406 Not Acceptable”

i just want to call the action and i don’t want to load another
template/view. can i do this without js/ajax?

i just did

“respond_to examinations_path”

instead of

“respond_to do |format|
format.html
format.json {render :json => @examination}
end”