Sha256: 2c6bf53de6cef1ac7cabe051fa3ee6a42567522c07df6327d099d321d40379d2

Contents?: true

Size: 551 Bytes

Versions: 31

Compression:

Stored size: 551 Bytes

Contents

require 'clearance/constraints/signed_in'
require 'clearance/constraints/signed_out'

module Clearance
  # Clearance provides Rails routing constraints that can control access and the
  # visibility of routes at the routing layer. The {Constraints::SignedIn}
  # constraint can be used to make routes visible only to signed in users. The
  # {Constraints::SignedOut} constraint can be used to make routes visible only
  # to signed out users.
  #
  # @see http://guides.rubyonrails.org/routing.html#advanced-constraints
  module Constraints
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
clearance-2.9.2 lib/clearance/constraints.rb
clearance-2.9.1 lib/clearance/constraints.rb
clearance-2.9.0 lib/clearance/constraints.rb
clearance-2.8.0 lib/clearance/constraints.rb
clearance-2.7.2 lib/clearance/constraints.rb
clearance-2.7.0 lib/clearance/constraints.rb
clearance-2.6.2 lib/clearance/constraints.rb
clearance-2.6.1 lib/clearance/constraints.rb
clearance-2.6.0 lib/clearance/constraints.rb
clearance-2.5.0 lib/clearance/constraints.rb
clearance-2.4.0 lib/clearance/constraints.rb
clearance-2.3.1 lib/clearance/constraints.rb
clearance-2.3.0 lib/clearance/constraints.rb
clearance-2.2.1 lib/clearance/constraints.rb
clearance-2.2.0 lib/clearance/constraints.rb
clearance-2.1.0 lib/clearance/constraints.rb
clearance-2.0.0 lib/clearance/constraints.rb
clearance-2.0.0.beta2 lib/clearance/constraints.rb
clearance-2.0.0.beta1 lib/clearance/constraints.rb
clearance-1.17.0 lib/clearance/constraints.rb