Class: UserPlane::RouteConcerns::SignUp
- Inherits:
-
AbstractNamespacedConcern
- Object
- AbstractConcern
- AbstractNamespacedConcern
- UserPlane::RouteConcerns::SignUp
- Defined in:
- lib/user_plane/route_concerns.rb
Instance Attribute Summary
Attributes inherited from AbstractConcern
Instance Method Summary collapse
Methods inherited from AbstractNamespacedConcern
Methods inherited from AbstractConcern
#call, #exists?, #initialize, #options
Constructor Details
This class inherits a constructor from UserPlane::RouteConcerns::AbstractConcern
Instance Method Details
#build ⇒ Object
92 93 94 95 96 97 98 |
# File 'lib/user_plane/route_concerns.rb', line 92 def build mapper.resource :sign_up, (only: [:new, :create]) do if exists? :auth_endpoint mapper.concerns :auth_endpoint, controller: :sign_ups end end end |