Hello!
I've found a similar topic on google groups, it's a bit old and i'm not sure if google groups is an official way for asking questions but so i'll ask again here.
I'm trying to use a cookies variable in my widget view and it's impossible due to Unknown method 'cookies' exception. In the previously mentioned topic, Nick suggests to use the following code in my widget:
delegate :cookies, :to => :parent_controller
helper_method :cookies
However, it's not working. Right now, i'm getting private method 'cookies' called for #<VideosController:0x0000010ab7fdf8>
Have you any idea how can i deal with that?
Thanks in advance.
Hello!
I've found a similar topic on google groups, it's a bit old and i'm not sure if google groups is an official way for asking questions but so i'll ask again here.
I'm trying to use a
cookiesvariable in my widget view and it's impossible due toUnknown method 'cookies'exception. In the previously mentioned topic, Nick suggests to use the following code in my widget:However, it's not working. Right now, i'm getting
private method 'cookies' called for #<VideosController:0x0000010ab7fdf8>Have you any idea how can i deal with that?
Thanks in advance.