addFavorite team is working, button and remove will be finished tonight
This commit is contained in:
@@ -9,9 +9,8 @@ module.exports = function generateClubRoutes(app) {
|
||||
app.get('/club/:clubID', (req, res) => {
|
||||
// Extract the league name from the URL parameters
|
||||
const clubID = req.params.clubID;
|
||||
|
||||
// Render the league page template using Handlebars
|
||||
res.render('pages/club-page', { clubID: clubID, user:user });
|
||||
res.render('pages/club-page', { clubID: clubID, });
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user