class UserPlane::RouteConcerns::SignUp

Public Instance Methods

build() click to toggle source
# File lib/user_plane/route_concerns.rb, line 92
def build
  mapper.resource :sign_up, options(only: [:new, :create]) do
    if exists? :auth_endpoint
      mapper.concerns :auth_endpoint, controller: :sign_ups
    end
  end
end