denali-js/core

View on GitHub
app/actions/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import Action from '../../lib/runtime/action';

export default class IndexAction extends Action {

  respond() {
    return this.render(200, { hello: 'world' }, { serializer: 'json' });
  }

}