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 update
    radar = find_my_radar
    if radar.update_attributes(radar_params)
      redirect_to radar
    else
      render "edit", radar: find_my_radar
    end
  end
def update radar = find_my_radar if radar . update_attributes ( radar_params ) redirect_to radar else render "edit" , radar : find_my_radar end end
Prevent Google from repeatedly trying to index old radars
Prevent Google from repeatedly trying to index old radars
# :nocov: # :nocov: