class CheatsheetController < ApplicationController

  def index
    @Cheatsheet = Cheatsheet.all
  end

  def show


  end
end

class CheatsheetController < ApplicationController

  def index
    @Cheatsheet = Cheatsheet.all
  end

  def show
    @Cheatsheet = Cheatsheet.find(params[:id])
  end
end

Add cheatsheet to show route
Add cheatsheet to show route
