Hello,
It seems that the accessors are not that clever:
{route: team_show, params: {id: id, slug: slug, game_slug: game.slug }
An interesting idea would be to use expression language so that it allows:
the game.slug annotation and it'll call getGame()->getSlug() instead of getGame.slug like now.
Hello,
It seems that the accessors are not that clever:
{route: team_show, params: {id: id, slug: slug, game_slug: game.slug }An interesting idea would be to use expression language so that it allows:
the
game.slugannotation and it'll callgetGame()->getSlug()instead ofgetGame.sluglike now.