Global injection
This commit is contained in:
parent
c70dd933c5
commit
559c0a3d9f
9 changed files with 76 additions and 9 deletions
|
@ -1,7 +1,8 @@
|
|||
import Ember from 'ember';
|
||||
import config from '../../../config/environment';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
tagName: 'em',
|
||||
genus: config.genus.capitalize(),
|
||||
genus: function() {
|
||||
return this.get('globals.genus').capitalize();
|
||||
}.property(),
|
||||
});
|
||||
|
|
1
app/pods/components/site-name/template.hbs
Normal file
1
app/pods/components/site-name/template.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{globals.genus}}.info
|
Reference in a new issue