forked from lucaspatenaude/ScoreSpot
Changes to try and get league infromation in. Still a work in progress
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
function redirectToLeaguePage(leagueName, leagueID) {
|
||||
function redirectToLeaguePage(leagueID) {
|
||||
// Append the league name to the URL
|
||||
var url = "/league/" + leagueName.toLowerCase().replace(/\s+/g, '-');
|
||||
var url = "/league/" + leagueID;
|
||||
|
||||
// Redirect to the league page
|
||||
window.location.href = url;
|
||||
|
||||
Reference in New Issue
Block a user