I'm looking for a way to use Rails-routes-like globbing in Ember.Router (1.0pre).
My goal is to match a path as a dynamic segment.
I'd like to have a route like that (CoffeeScript) :
App.Router = Ember.Router.extend
location: 'hash'
enableLogging: true
root: Ember.Route.extend
myRoute: Ember.Route.extend
route: '/:path*'
connectOutlets: (router, context) ->
{ ... something here ... }
Unfortunately, Ember._RouteMatcher does not seem to support that kind of syntax (the trailing asterisk in the route), so I'm unable to create a route that would match a dynamic segment like '/long/path/to/something'.
Has anyone ever managed to do that (or found some kind of workaround) ?