I have added a before_filter into the SitesController for user
authentication, but whenever i use a redirect_to or render in my
before_filter action i get famous
ActionController::DoubleRenderError . I know the reasons but i don't
how i could do a redirect_to anyway, so that if a user is not
authenticated, he got redirected to the root page. Is this anyway the
correct way of authentication in radiant, thus setting a before filter
in SitesController? Or is there a better way?

Reply via email to