Re: before_action - performing an action to prevent

On 18 October 2013 13:02, Денис Чурбанов [email protected] wrote:

From the documentation: If you call render, head or redirect_to from a
before_action, the filter chain will be halted, but I have a different
situation:
current_redirect_to and current_html_insert - are methods of controlling the
behavior of the client through websockets,
they do not call methods render, head or redirect_to.
Please tell me how can I fix this problem.

You have not told us what the problem is that you are trying to fix,
as far as I can see.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs