UNPKG

323 BJavaScriptView Raw
1/**
2 * @copyright Copyright (c) 2019 Maxim Khorin <maksimovichu@gmail.com>
3 */
4'use strict';
5
6const Base = require('./Action');
7
8/**
9 * action is defined as controller's method
10 */
11module.exports = class InlineAction extends Base {
12
13 execute () {
14 return this.method.call(this.controller);
15 }
16};
\No newline at end of file