1class FailuresController < ApplicationController 2 def index 3 @failures = Failure.includes(:environment).all 4 end 5end