accidentally deleted conditional in controller on index action/