Forum: Rails Engines e: Overloading controller

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.
unknown (Guest)
on 2006-04-27 01:03
(Received via mailing list)
Thanks for the notes.  I actually don't want Guest to be able to
signup.  That's the point of me overriding the signup method.  I would
like to change the default warning from "You need to login" to
"Contact Sean for a login".

I'd like to do this without copying and pasting either signup.rhtml or
the signup method from user_controller.rb.  Both of these solutions
seem to violate the DRY philospohy.

Maybe there's a bigger Engines issue here, the ability to call the
engine's method specifically from my own controller.  Right now, I
don't see a way to do this other than by calling alias.

Thanks,
Sean
This topic is locked and can not be replied to.