Burnley boss Vincent Kompany hailed striker Ashley Barnes after his goal help Burnley seal promotion at Middlesbrough, calling him a club legend.