Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- end
- end
- previous_last_bonus = @user.bonuses.any? && @user.bonuses.last
- if !problems && @user.save_with_identity(@identity)
- flash[:notice] = "The user has been updated."
- if @user.bonuses.any? && @user.bonuses.last.bonus_offer.is_bet_for_free? && @user.bonuses.last != previous_last_bonus
- flash[:notice] += " We have awarded the bet for free bonus for the user."
- end
- log_admin_action(
Add Comment
Please, Sign In to add comment