Topic: sign_up [SOLVED]

I have this page http://localhost:3000/users/sign_up that is generated by device and i cant figure where its the redirect that if i am already longed in it takes me to the home page and not the sing up page

path to the page is app/views/devise/registrations/new.html.erb

Last edited by moiseszaragoza (2012-06-04 23:13:28)

Re: sign_up [SOLVED]

I think you need to be adding something like the bellow to your application controller.

 def after_sign_in_path_for(resource_or_scope)


 end Customizable RSS Aggregation

Re: sign_up [SOLVED]

Thanks i am going to try that

Re: sign_up [SOLVED]

i just did that update and i got a error messsage

Template is missing

Missing template users/show, application/show with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in: * "/Users/moiseszaragoza/Sites/sample/app/views" * "/Users/moiseszaragoza/.rvm/gems/ruby-1.9.3-p194@sample/gems/devise-2.1.0/app/views"

i created a page in app/view/users/show.html.erb and i still get the same error