Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Pre-populate any industry types if they're registering under a given goal i.e. auctioneer
- @goal = IndustryType.find(919) if session[:registration][:goal] == 'auctions'
- @goal = IndustryType.find(929) if session[:registration][:goal] == 'publications'
- @types.push(@goal) unless @goal.blank?
Add Comment
Please, Sign In to add comment