class ListController < ApplicationController
  def index
  end

  def new
  end

  def create
  end

  def edit
  end

  def show
  end

  def update
  end

  def destroy
  end
end

class ListController < ApplicationController
  def index
    @lists = List.all
  end

  def new
  end

  def create
  end

  def edit
  end

  def show
  end

  def update
  end

  def destroy
  end
end

Make @lists available to index.html.erb
Make @lists available to index.html.erb
