fixed current_user.nil bug on index orders view

bug