<commit_before>Now, let's add a list of available rentals to the index template.
We know that rentals will not be static, since eventually users will be able to add, update, and delete them.
For this reason, we'll need a _rentals_ model to save information about the rentals.
To keep things simple at first, we'll use a hard-coded array of JavaScript objects.
Later, we'll switch to using Ember Data, a library for robustly managing data in our app.

Here's what our homepage will look like when we're done:

![super rentals homepage with rentals list](../../images/models/super-rentals-index-with-list.png)

In Ember, route handlers are responsible for loading model data.
Let's open `app/routes/index.js` and add our hard-coded data as the return value of the `model` hook:

```app/routes/index.js
import Ember from 'ember';

var rentals = [{
  id: 1,
  title: 'Grand Old Mansion',
  owner: '<NAME>',<commit_msg>Auto merge of #1463 - GavinJoyce:patch-3, r=locks<commit_after>Now, let's add a list of available rentals to the index template.
We know that rentals will not be static, since eventually users will be able to add, update, and delete them.
For this reason, we'll need a _rentals_ model to save information about the rentals.
To keep things simple at first, we'll use a hard-coded array of JavaScript objects.
Later, we'll switch to using Ember Data, a library for robustly managing data in our app.

Here's what our homepage will look like when we're done:

![super rentals homepage with rentals list](../../images/models/super-rentals-index-with-list.png)

In Ember, route handlers are responsible for loading model data.
Let's open `app/routes/index.js` and add our hard-coded data as the return value of the `model` hook:

```app/routes/index.js
import Ember from 'ember';

let rentals = [{
  id: 1,
  title: 'Grand Old Mansion',
  owner: '<NAME>alt',
{'fraction_non_alphanumeric': 0.0867702196036422, 'fraction_numerical': 0.003749330476700589, 'mean_word_length': 4.291784702549575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1548364', 'n_tokens_mistral': 566, 'n_tokens_neox': 520, 'n_words': 270}