Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Lux Controller - Example 1
import { Controller } from 'lux-framework';
import setUser from '../middleware/set-user';
class PostsController extends Controller {
params = [
beforeAction = [
export default PostsController;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment