I am trying to make an ajax call, but I do not want to return any data or maybe only return 200.
My mistake
ActionView::MissingTemplate (Missing template ....
My ajax method in the controller ...
# Ajax def updatePlayStat()
Is there a way to tell the rails to not return anything without creating an additional template file?
BTW I am making an ajax call using the jquery $.post method in the js file.
source share