I have a js.erb file where I perform an ajax GET like so:
$.get("<%= j @stored_location %>");
All is well, however my server logs show this:
Processing by XyzController#index as */*
I know that "/" means "any format", and everything is working just fine, so I'm wondering if there's any point in trying to ensure that Rails processes this action explicitly as :js
. Do I need to add something to the $.get
call? Should I bother?