Forum: Ruby on Rails Re: before_action - performing an action to prevent

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2013-10-18 18:06
(Received via mailing list)
On 18 October 2013 13:02, Денис Чурбанов <odmin.odin@gmail.com> 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 topic is locked and can not be replied to.