Created
May 31, 2018 20:09
-
-
Save heat/11a27e7fc85915a0389203d28fff5d31 to your computer and use it in GitHub Desktop.
como carregar parametros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,4 +1,12 @@ | |
Discard Hunk | |
Stage Hunk | |
import Ember from 'ember'; | |
export default Ember.Route.extend({ | |
afterModel() { | |
return this.get('store').query('b/parametro', { orderBy: 'ssupervisor', equalTo: true}) | |
.then( params => { | |
console.log(params); | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment