Routing validate with database entry

Discussion relating to version 1.3.x and 1.4.x

Routing validate with database entry

Postby freakx0 » Fri May 03, 2013 5:19 pm

Hi,

i've to do rules like
Code: Select all
friendslist:
  url:   /:city/friends/:page
  param: { module: friendsmodule, action: list, page: 1 }
  requirements: { city: '(nyc|la|...)' }


i have a lot of cities, which are in a database table. so i need a requirements-check through a database table. at the moment i have no idea :-/
freakx0
Member
 
Posts: 87
Joined: Fri Nov 24, 2006 3:24 pm
Location: Germany

Re: Routing validate with database entry

Postby smugford » Fri May 03, 2013 11:58 pm

User avatar
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm


Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 5 guests