Flowdock

Extend ActionDispatch middleware stack to make it aware of options allowing the following syntax in controllers:

class PostsController < ApplicationController
  use AuthenticationMiddleware, except: [:index, :show]
end

Constants

NULL = ->(list, action) { true }

EXCLUDE = ->(list, action) { !list.include? action }

INCLUDE = ->(list, action) { list.include? action }

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.