views:

25

answers:

0

Hi,

I'm using Rails 2.3.5 and have been having a problem with redirecting a user back to the sign-up page.

Tried changing home_path to my sign-up page path in accounts_controller.rb but the redirect still looks in public/signup.

accounts_controller.rb - signup

def signup
redirect_to("http://mysite.me/signup") and return if @u
@user = User.new
return unless request.post?

Any ideas as to why this is happening?