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.11.4 client-app/app/routes/show.js
logster-2.11.3 client-app/app/routes/show.js
logster-2.11.2 client-app/app/routes/show.js
logster-2.11.1 client-app/app/routes/show.js
logster-2.11.0 client-app/app/routes/show.js
logster-2.10.1 client-app/app/routes/show.js
logster-2.10.0 client-app/app/routes/show.js
logster-2.9.8 client-app/app/routes/show.js
logster-2.9.7 client-app/app/routes/show.js
logster-2.9.6 client-app/app/routes/show.js
logster-2.9.5 client-app/app/routes/show.js
logster-2.9.4 client-app/app/routes/show.js
logster-2.9.3 client-app/app/routes/show.js
logster-2.9.2 client-app/app/routes/show.js
logster-2.9.1 client-app/app/routes/show.js
logster-2.9.0 client-app/app/routes/show.js
logster-2.8.0 client-app/app/routes/show.js
logster-2.7.1 client-app/app/routes/show.js
logster-2.7.0 client-app/app/routes/show.js
logster-2.6.3 client-app/app/routes/show.js