code: function getFilterMethods(type, controller, action) {
    // Get all filters for the action.
    let filters = getFilters(type, controller, action)
    // Get filter method names to be skipped.
    type = `skip${type[0].toUpperCase() + type.slice(1)}`
    let skipFilterMethods = _.map(getFilters(type, controller, action), 'action')
  
    // Remove filters that should be skipped.
    filters = _.filter(filters, f => {
      for(let method of skipFilterMethods)
        if(method === f.action)
          return false
      return true
    })
  
    // Return final list of filter methods.
    return _.map(filters, f => {
      let { action } = f
      action = typeof action === 'string' ? controller[action] : action
      return action.bind(controller)
    })
  }
docs: Get list of filter methods to be applied to a specific action.