app/controllers/radars_controller.rb
# Prevent Google from repeatedly trying to index old radars
Prevent Google from repeatedly trying to index old radars
Prevent Google from repeatedly trying to index old radars
def destroy
    radar = find_my_radar
    return redirect_to(new_user_session_path) unless radar
    radar.destroy!
    redirect_to radars_path
  end
def destroy radar = find_my_radar return redirect_to ( new_user_session_path ) unless radar radar . destroy! redirect_to radars_path end
Prevent Google from repeatedly trying to index old radars
Prevent Google from repeatedly trying to index old radars