Skip to content

Instantly share code, notes, and snippets.

@stephencattaneo
Last active June 7, 2016 17:16
Show Gist options
  • Save stephencattaneo/48c36b418f3ddd3149b580c932cbb149 to your computer and use it in GitHub Desktop.
Save stephencattaneo/48c36b418f3ddd3149b580c932cbb149 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: 'none'
});
Router.map(function() {
this.route('foo', {path: 'foo/:foo_id'});
});
export default Router;
{{link-to 'some text' 'foo' thing}}
{
"version": "0.8.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "1.13.13",
"ember-data": "2.5.2",
"ember-template-compiler": "1.13.13"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment