Module: Clearance::Constraints

Defined in:
lib/clearance/constraints.rb,
lib/clearance/constraints/signed_in.rb,
lib/clearance/constraints/signed_out.rb

Overview

Clearance provides Rails routing constraints that can control access and the visibility of routes at the routing layer. The SignedIn constraint can be used to make routes visible only to signed in users. The SignedOut constraint can be used to make routes visible only to signed out users.

Defined Under Namespace

Classes: SignedIn, SignedOut