Add redirect_to method to controller