Skip to content

Commit 37e4075

Browse files
committed
Loading groups dynamically, work in progress
1 parent cb6d93f commit 37e4075

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/controllers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default Ember.Controller.extend({
1111
}
1212
});
1313

14+
1415
function suitableScreenHeight() {
1516
return Math.max(Ember.$(window).height() - 40, 320);
1617
}

app/templates/index.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<div class="offset-md-1 col-md-10 offset-lg-2 col-lg-8">
2222
Want to know more about our church? Check out some of the groups within
2323
our church that may interest you.
24+
{{#each g in model.group}}
25+
<p>HELLO={{group.slug}}</p>
26+
{{/each}}
2427
</div>
2528
</div>
2629
<div class="row">

0 commit comments

Comments
 (0)