Skip to content

Commit 97c28c9

Browse files
committed
add except
1 parent 7c189a8 commit 97c28c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/stretch3s_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def create
1616
private
1717

1818
def stretch3_params
19-
params.require(:stretch3).permit(:email, :parent_name, :participant_name, :dojo_name)
19+
params.require(:stretch3).except(:term_of_use).permit(:email, :parent_name, :participant_name, :dojo_name)
2020
end
2121
end

0 commit comments

Comments
 (0)