Bongloy's terms of service. Browse here for previous versions and diffs.
Add this line to your application's Gemfile:
gem 'bongloy-terms'
To include Bongloy's terms into a Rails application add the following helper method to your ApplicationController
class ApplicationController < ActionController::Base
helper_method :bongloy_terms_renderer
def bongloy_terms_renderer
@bongloy_terms_renderer ||= Bongloy::Terms::Renderer.new
end
end
Then you can use it in your views like
<%= bongloy_terms_renderer.render('terms').html_safe %>
<%= bongloy_terms_renderer.render('privacy').html_safe %>
<%= bongloy_terms_renderer.render('prohibited_businesses').html_safe %>
<%= bongloy_terms_renderer.render('high_risk_mcc_categories').html_safe %>