Shopify/batman — Issue #238: data-route bindings aren't real bindings and have special syntaxes
Author: hornairs
Created: 2011-11-16 20:22:36+00:00
State: open
Labels: Bug

There are a number of issues here:

- data route accepts a bunch of different syntaxes (the `/actual/url/to/somewhere`, the `controller#action`, and the `keypath.to.modelClass.or.record`
- given a keypath, data-route evaluates it at creation time and doesn't observe it for changes
- data-route can't accept arbitrary arguments.

A proposed solution: make data-route use the normal keypath + filters syntax, and continue to support the `controller#action` or url literal style stuff by using object and string literals in the keypath string.

To make a link to a url:

```html
Go
```

To generate a link from some params:

```html
Next Page
```

To auto generate a link from a Model subclass or instance:

```html
More Info
```