Created
November 14, 2011 01:14
-
-
Save christopherdbull/1363012 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RegistrationsController < Devise::RegistrationsController | |
def new | |
if params[:bp].present? | |
puts "why" | |
@user = User.find_by_lbp_number(params[:bp]) | |
else | |
@user = User.new | |
puts "this shouldn't be here" | |
end | |
super | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment