Leagues views, also fixed a misplaced ] in leagues controller