Added the missing end to the if statement I just added to layout.erb