class WorkoutsController < ApplicationController def index @workouts = Workout.all end def show @workout = Workout.find(params[:id]) end def edit @workout = Workout.find(params[:id]) end end