When I try to hit this action via Javascript, I get a 406 Not Acceptable error:
406 Not Acceptable
def show @annotation = Annotation.find_by_id(params[:id])
Check your application.js for require jquery_ujs
//= require jquery_ujs