Guest User

Untitled

a guest
Aug 5th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.35 KB | None | 0 0
  1. class Users::RegistrationsController < Devise::RegistrationsController
  2.   include ApplicationHelper
  3.   layout "signup_layout", only: [:create, :new]
  4.   def create
  5.     super
  6.   end
  7.  
  8.   def new
  9.     super
  10.   end
  11.  
  12.   def edit
  13.     super
  14.   end
  15.  
  16.   def after_sign_up_path_for(user)
  17.     @user_id=user.id
  18.     redirect_to "/signup/create_company"
  19.   end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment