<
carlosantoniodasi...@gmail.com> wrote:
> I'm sorry, but I have no idea what you're trying to achieve, and what's not working (I may be already sleepy in any case, but..). Please try to make everything clear and with extended examples, otherwise it's really hard to come up with a possible idea of what's going on.
>
> If you are going to use devise for all namespaces, what's the point of having different endpoints for devise? You could just declare it outside all namespaces and make use of it (if I got it right).
>
> --
> At.
> Carlos Antonio
>
>
>
>
>
>
>
> On Sunday, May 20, 2012 at 4:27 PM, romanvbabenko wrote:
> > Yes, i have User model, Rails 3.0.12 && devise 1.3.3
> > let me show you
>
> > routes.rb
>
> > namespace :m do
> > devise_for :users
> > end
>
> > but my current_user is nil for each controller at :m namespace after i
> > was signed in
>
> > On May 20, 3:52 pm, Carlos Antonio da Silva