Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
<h1>Welcome to {{appName}}</h1>
{{#link-to 'first'}}First{{/link-to}}
{{#link-to 'second'}}Second{{/link-to}}
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
}); {
this.route('first', { path: '/without encoding' });
this.route('second', { path: '/with%20encoding' });
export default Router;
"version": "0.4.14",
"EmberENV": {
"dependencies": {
"jquery": "",
"ember": "",
"ember-data": "",
"ember-template-compiler": ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment