mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
10 lines
212 B
Ruby
10 lines
212 B
Ruby
# frozen_string_literal: true
|
|
|
|
class UserReflex < ApplicationReflex
|
|
def accept_terms_of_services
|
|
current_user.update(terms_of_service_accepted_at: DateTime.now)
|
|
|
|
morph "#banner-container", ""
|
|
end
|
|
end
|