<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing
http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="msalsas_voting.vote_positive" controller="Msalsas\VotingBundle\Controller\VoteController:votePositive" path="/vote-positive/{_locale}/{id}" methods="POST" >
<requirement key="id">\d+</requirement>
<default key="_controller">msalsas_voting.controller.vote_positive</default>
</route>
<route id="msalsas_voting.vote_negative" controller="Msalsas\VotingBundle\Controller\VoteController:voteNegative" path="/vote-negative/{_locale}/{id}" methods="POST" >
<requirement key="id">\d+</requirement>
<default key="_controller">msalsas_voting.controller.vote_negative</default>
</route>
</routes>
|