{"issue":{"state":"closed","created_at":"2011-12-14T06:53:28Z","updated_at":"2011-12-15T03:05:28Z","user":{"gravatar_id":"465c61b3545ac5f8c4acb989a874bf61","id":1013500,"url":"https://api.github.com/users/minixxie","login":"minixxie","avatar_url":"https://secure.gravatar.com/avatar/465c61b3545ac5f8c4acb989a874bf61?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"Hi Author,\r\n\r\nI'm using twig.js into my symfony2 framework.\r\nWith non-AJAX request, my TWIG templates render successfully and being shown in my browser correctly.\r\n\r\nNow I'm trying to use twig.js so that the AJAX part (the javascript code) and the PHP code share the same TWIG template. (As we know code sharing is very important for code maintenance).\r\n\r\nIn my template file, it contains some call to url() function, which uses a route identifier to re-construct the URL. But twig seems to be broken on this:\r\n\r\nError: uncaught exception: TwigException: Twig.expression.type.expression cannot follow a Twig.expression.type.variable at template:3 near '('_kuulabu_home_page...' OR Twig.expression.type.parameter.start cannot follow a Twig.expression.type.variable at template:3 near '(...'\r\n\r\n(where _kuulabu_home_page is a route identifier)\r\n\r\nDo you have any idea to help me solve the problem? Many thanks.\r\n\r\nSimon","assignee":null,"id":2548292,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1,"title":"url() doesn't seem working","html_url":"https://github.com/justjohn/twig.js/issues/1","closed_at":"2011-12-15T03:05:28Z","milestone":null,"url":"https://api.github.com/repos/justjohn/twig.js/issues/1"},"action":"closed"}