Skip to content

Instantly share code, notes, and snippets.

@barelyknown
Created November 20, 2015 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barelyknown/a4855865236c1d562699 to your computer and use it in GitHub Desktop.
Save barelyknown/a4855865236c1d562699 to your computer and use it in GitHub Desktop.
/app/routes/authenticated.js
import Ember from 'ember';
export default Ember.Route.extend({
states: Ember.inject.service('states'),
beforeModel() {
this.get('states');
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment