Sha256: 4b815787d6ee70f12f70ef89242673782660a07aef2adaac50b03a3d80530b6e
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
import Route from "@ember/routing/route"; import { ajax } from "client-app/lib/utilities"; export default Route.extend({ model() { return ajax("/settings.json"); }, setupController(controller, model) { this._super(...arguments); const showCodedPatterns = model.coded_patterns && model.coded_patterns.length > 0; controller.set("showCodedPatterns", showCodedPatterns); } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logster-2.2.0 | client-app/app/routes/settings.js |