We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5543b05 commit 2184f79Copy full SHA for 2184f79
app/controllers/volunteers_controller.rb
@@ -31,8 +31,7 @@ def create
31
@volunteer = current_organization.volunteers.new(create_volunteer_params)
32
authorize @volunteer
33
34
- if @volunteer.save && @volunteer.email.match?(URI::MailTo::EMAIL_REGEXP)
35
-
+ if @volunteer.save
36
# invitation error handling
37
begin
38
@volunteer.invite!(current_user)
0 commit comments