Sha256: da859a4971cb427a3a3ed22e252e875f7adeb3a46bf37813ce67ac3d420bff60
Contents?: true
Size: 459 Bytes
Versions: 4
Compression:
Stored size: 459 Bytes
Contents
require_dependency "jobshop/application_controller" module Jobshop class Teams::RegistrationsController < ApplicationController include RegistrationTokenValidation def new @registration = Jobshop::Registration.new(params) end def create @registration = Jobshop::Registration.new(params) if @registration.save sign_in_and_redirect(@registration.user) else render(:new) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems