You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: readings_controller.rb
    path of file: ./repos/linuxfr.org/app/controllers
    
    the code of the file until where you have to start completion: # encoding: utf-8
#
class ReadingsController < ApplicationController
  before_ac
    
  def destroy
    @node.unread_by(current_account.id)
    respond_to do |wants|
     wants.json { render json: { notice: "Ce contenu n’est plus marqué comme lu" } }
     wants.html { redirect_to_content @node.content }
    end
  end