about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-04 22:19:24 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-04 15:19:24 +0200
commit275c5b51ed7e22734d18db6acb2b87ba26bd435f (patch)
tree0f3d8e613526e3ebdb98e4ccdd88c5a02b43d543 /app/controllers
parentf85dbe83c8e982f9685fbc802031b74c7c319bc7 (diff)
Customizable privacy policy from admin interface (#4062)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/about_controller.rb2
-rw-r--r--app/controllers/admin/settings_controller.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 04e7ddacf..c0addbecc 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -2,7 +2,7 @@
 
 class AboutController < ApplicationController
   before_action :set_body_classes
-  before_action :set_instance_presenter, only: [:show, :more]
+  before_action :set_instance_presenter, only: [:show, :more, :terms]
 
   def show; end
 
diff --git a/app/controllers/admin/settings_controller.rb b/app/controllers/admin/settings_controller.rb
index fcd42c79c..7542f55e8 100644
--- a/app/controllers/admin/settings_controller.rb
+++ b/app/controllers/admin/settings_controller.rb
@@ -8,6 +8,7 @@ module Admin
       site_title
       site_description
       site_extended_description
+      site_terms
       open_registrations
       closed_registrations_message
     ).freeze