We do =). ResourceGraphRoute is a bit complex. Maybe ResourceRoute or RestRoute ?

Envoyé de mon iPhone

Le 22 mai 2013 à 12:26, Marco Pivetta <notifications@github.com> a écrit :

> In docs/quick-start.md:
> 
> > +
> > +## Writing the route
> > +
> > +If we type "/users" in our browser, nothing happen (yet). This is because we need to create a route. The route is an
> > +entry-point to a specific resource. What is nice, however, is that associated resources are automatically discovered.
> > +For instance, if your User entity has an association with a collection of Tweet resources, you don't need to write two
> > +routes! More on that later.
> > +
> > +In your `module.config.php` file, add the following route:
> > +
> > +```php
> > +return array(
> > +	'router' => array(
> > +        'routes' => array(
> > +            'users' => array(
> > +                'type'    => 'ResourceGraphRoute',
> Wondering if we need a better name for this...
> 
> —
> Reply to this email directly or view it on GitHub.