Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private
- def object_params
- h = {:user=>current_user, :bonus_card => BonusCard.find(:first), :birthday => current_user.customer_profile.birthday, :title => current_user.customer_profile.title, :firstname => current_user.customer_profile.firstname, :lastname => current_user.customer_profile.lastname, :street => current_user.customer_profile.street, :postal_code => current_user.customer_profile.postal_code, :locality => current_user.customer_profile.locality}
- if super
- h.merge(super)
- else
- h
- end
- end
Add Comment
Please, Sign In to add comment