Can Route groups have a / route each


#1

From Gitter: https://gitter.im/adonisjs/adonis-framework?at=59ddee323cb340a2610ecddb

Will this works ?
I mean, i want /blog/:slug not /:slug.

Route.group(() => {
  Route.get('/', 'FrontController.index').as('home'); // <-- This.
  Route.get('features', 'FrontController.features').as('features');
  Route.get('learn-more', 'FrontController.learnMore').as('about');
  Route.get('downloads', 'FrontController.downloads').as('download');
  Route.get('sharer/:media', 'FrontController.sharer').as('sharer:redirect');
});

// Blog stuff.
Route.group(() => {
  Route.get('/', 'BlogController.index').as('blog'); // <-- This too.
  Route.get('/:slug', 'BlogController.show').as('blog:post'); // <-- And this.
  Route.get('rss', 'BlogController.showRSS').as('blog:rss');
}).prefix('blog');

#2

Yes, it will works without any issue!