Sha256: dc51ed702cbbc7202c69587fbec1185ed0d9c0941e1321bd3aa1243f0377813f

Contents?: true

Size: 392 Bytes

Versions: 36

Compression:

Stored size: 392 Bytes

Contents

import Route from "@ember/routing/route";
import Message from "client-app/models/message";
import { preloadOrAjax } from "client-app/lib/utilities";

export default Route.extend({
  model(params) {
    return preloadOrAjax("/show/" + params.id + ".json");
  },

  setupController(controller, model) {
    this._super(...arguments);
    controller.set("model", Message.create(model));
  }
});

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
logster-2.6.2 client-app/app/routes/show.js
logster-2.6.1 client-app/app/routes/show.js
logster-2.6.0 client-app/app/routes/show.js
logster-2.5.1 client-app/app/routes/show.js
logster-2.5.0 client-app/app/routes/show.js
logster-2.4.2 client-app/app/routes/show.js
logster-2.4.1 client-app/app/routes/show.js
logster-2.4.0 client-app/app/routes/show.js
logster-2.3.3 client-app/app/routes/show.js
logster-2.3.2 client-app/app/routes/show.js
logster-2.3.1 client-app/app/routes/show.js
logster-2.3.0 client-app/app/routes/show.js
logster-2.2.0 client-app/app/routes/show.js
logster-2.1.2 client-app/app/routes/show.js
logster-2.1.1 client-app/app/routes/show.js
logster-1.3.1 client-app/app/routes/show.js