Separated haml views from logics