User signup before_filter

10 views
Skip to first unread message

Bob Sleys

unread,
Jan 16, 2012, 11:54:57 AM1/16/12
to hobo...@googlegroups.com
Ok I know I'm missing something easy here but for the life of me I'm not seeing it.  We the site to require users to be signed up.  IE they should be able to create thier own new accounts (not invite  only which the wizard does fine on )

I have the following in application_controler.rb

  before_filter :except => [:login, :forgot_password, :user_activate, :do_user_activate, :reset_password, :do_reset_password, :signup, :user_signup, :do_user_signup, :create_user] do

The signup page comes up fine but after filling out the form the new account isn't created and the user is sent back to the sign up page.  I'm obviously missing an action from the :except list but have no idea what I missed.

Bob

kevinpfromnm

unread,
Jan 16, 2012, 12:22:05 PM1/16/12
to hobo...@googlegroups.com
do_signup

each lifecycle action has 2 controller actions, the GET (signup) and the POST (do_signup)
Reply all
Reply to author
Forward
0 new messages