Forum: Rails Engines Login Engine

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Vegard (Guest)
on 2006-02-08 15:27
Hi, I've been using the login engine for a web application I've
developed, but I've run into a small problem.

Using before_filter on other controllers works just fine, but I also
want methods in the UserController that is included in the Login Engine
to be protected in some cases. For instance, I'd like the signup action
to be unavailable unless a user is logged in (only valid users can add
new accounts). I've added the normal before_filter to the
UserController, but this is obviously not the correct way of  doing

So in short: how can I secure all actions except login in

My thanks in advance for any help you can give

This topic is locked and can not be replied to.