I have a Rails3 app with three resources:
- League (has_many :teams)
- Team (belongs_to :league, has_many :players)
- Player (belongs_to :team)
With standard nested routes, I get URLs like:
/leagues (lists all leagues)
/leagues/2(shows league #2)
/leagues/2/teams (lists all
On Tue, Nov 30, 2010 at 11:26 AM, andyl akl...@gmail.com wrote:
I have a Rails3 app with three resources:
- League (has_many :teams)
- Team (belongs_to :league, has_many :players)
- Player (belongs_to :team)
With standard nested routes, I get URLs like:
/leagues (lists all
2 matches
Mail list logo