(controller, error)
| 2 | |
| 3 | export default Route.extend({ |
| 4 | renderTemplate(controller, error) { |
| 5 | const errors = ['browser-unsupported', 'filesystem-unavailable']; |
| 6 | const name = `errors/${error.message}`; |
| 7 | |
| 8 | if (errors.indexOf(error.message) !== -1) { |
| 9 | this.render(name); |
| 10 | } |
| 11 | }, |
| 12 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected