Guest User

Untitled

a guest
Jun 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # Pre-populate any industry types if they're registering under a given goal i.e. auctioneer
  2. @goal = IndustryType.find(919) if session[:registration][:goal] == 'auctions'
  3. @goal = IndustryType.find(929) if session[:registration][:goal] == 'publications'
  4. @types.push(@goal) unless @goal.blank?
Add Comment
Please, Sign In to add comment