class BooksController < ApplicationController
end

class BooksController < ApplicationController
  def show
    @book = Book.find(paramas[:id])
    respond_to do |format|
      format.html
      format.csv
      format.json
    end
  end
end

Add method show in books
Add method show in books
