From a rails .erb I can call an Emberjs view and it renders fine:
<script type="text/x-handlebars">
{{ view App.ListUsers }}
</script>
Now if I were to use the core statemanager, I'd make something like this:
App.Router = Ember.Router.extend({
index: Ember.State.extend({
route: '/'
});
How might I call the the index route directly from a .erb? Like a bootstrap to start the emberjs app.
I'm looking to use Ember for an administration dashboard so I will fire up the emberjs app after an admin logs into the rails app.