[FLOW3-general] routes.yaml and urls
Elías Fernández
eliasfernandez at gmail.com
Thu May 6 10:46:47 CEST 2010
it works ¡
I develop with aptana so i install Aptana Radrails and associate the *.yaml
extension to yml editor, and now i have syntax highlighting.
Thanks
Elías Fernández Velázquez
http://www.ipts.es
2010/5/5 Bastian Waidelich <bastian at typo3.org>
> Elías Fernández wrote:
>
> Hi Elías.
>
>
> name: 'Address'
>> uriPattern: 'addnew'
>> defaults:
>> @package: FirstPackage
>> @controller:AddressList
>> @action: add
>>
>
> in YAML a new line must not start with a special character, so you'll have
> to put "@xyz" in quotes. And there must be at least one whitespace character
> between colon and value. like so:
>
>
> -
> name: 'Address'
> uriPattern: 'addnew'
> defaults:
> '@package': FirstPackage
> '@controller': AddressList
> '@action': add
>
>
> did that help?
>
> Bastian
>
> btw: for most PHP IDEs you'll find free YAML syntax highlighter plugins -
> that helps a lot.
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list