Topic: AJax Json and redirect_to

Hello,

I am using the best_in_place gem for editing some fields.
It happens to try and call an update action that is being
processed as JSON.  I have a before filter that checks if
I should allow this,  I do a redirect_to when I want to deny
the change.  My problem is now my redirect want to process
as JSON also.  Can I tell the redirect to process as HTML.

I have tried

redirect_to URL_HERE, :format=>'html'

something similar to
render js: %(window.location.pathname='#{messages_path}')

Has anyone ever converted the call back to an html processor?