2
0

Add terms of service (#33055)

This commit is contained in:
Eugen Rochko
2024-12-09 11:04:46 +01:00
committed by GitHub
parent 7a2a345c08
commit 30aa0df88c
129 changed files with 1456 additions and 238 deletions

View File

@@ -0,0 +1,8 @@
# frozen_string_literal: true
class Admin::TermsOfServiceController < Admin::BaseController
def index
authorize :terms_of_service, :index?
@terms_of_service = TermsOfService.live.first
end
end