old_contents: 'use strict'
  
  const Middleware = use('Middleware')
  
  /*
  |--------------------------------------------------------------------------
  | Global Middleware
  |--------------------------------------------------------------------------
  |
  | Global middleware are executed on every request and must be defined
  | inside below array.
  |
  */
  const globalMiddleware = [
    'Adonis/Middleware/Cors',
    'Adonis/Middleware/BodyParser',
    //'App/Http/Middleware/Auth',
    'Adonis/Middleware/Shield',
    'Adonis/Middleware/Flash'
  ]
  
  /*
  |--------------------------------------------------------------------------
  | Named Middleware
  |--------------------------------------------------------------------------
  |
  | Named middleware are key/value pairs. Keys are later used on routes
  | which binds middleware to specific routes.
  |
  */
  const namedMiddleware = {
    'auth' : 'App/Http/Middleware/Auth'
  }
  
  /*
  |--------------------------------------------------------------------------
  | Register Middleware
  |--------------------------------------------------------------------------
  |
  | Here we finally register our defined middleware to Middleware provider.
  |
  */
  Middleware.global(globalMiddleware)
  Middleware.named(namedMiddleware)
  
new_contents: 'use strict'
  
  const Middleware = use('Middleware')
  
  /*
  |--------------------------------------------------------------------------
  | Global Middleware
  |--------------------------------------------------------------------------
  |
  | Global middleware are executed on every request and must be defined
  | inside below array.
  |
  */
  const globalMiddleware = [
    'Adonis/Middleware/Cors',
    'Adonis/Middleware/BodyParser',
    'Adonis/Middleware/Shield',
    'Adonis/Middleware/Flash'
  ]
  
  /*
  |--------------------------------------------------------------------------
  | Named Middleware
  |--------------------------------------------------------------------------
  |
  | Named middleware are key/value pairs. Keys are later used on routes
  | which binds middleware to specific routes.
  |
  */
  const namedMiddleware = {
    'admin' : 'App/Http/Middleware/Administrator'
  }
  
  /*
  |--------------------------------------------------------------------------
  | Register Middleware
  |--------------------------------------------------------------------------
  |
  | Here we finally register our defined middleware to Middleware provider.
  |
  */
  Middleware.global(globalMiddleware)
  Middleware.named(namedMiddleware)
  
subject: add Administrator Middleware