aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-09 12:58:20 +0200
committerGitHub <noreply@github.com>2018-08-09 12:58:20 +0200
commit0dcc1950d14cc4a7725ea1572d253c538a1f74e8 (patch)
treebdc2b4168abf0d09b997b8eec2abeccce9f0de14 /app/controllers
parentf2404de871f0bdfda5c9aeeeb4c6c4d10a8da8ab (diff)
downloadmastodon-0dcc1950d14cc4a7725ea1572d253c538a1f74e8.tar
mastodon-0dcc1950d14cc4a7725ea1572d253c538a1f74e8.tar.gz
mastodon-0dcc1950d14cc4a7725ea1572d253c538a1f74e8.tar.bz2
mastodon-0dcc1950d14cc4a7725ea1572d253c538a1f74e8.zip
Update /terms and /about/more to use public layout (#8142)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/about_controller.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 810f212fd..0dbf0283d 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -9,9 +9,13 @@ class AboutController < ApplicationController
@initial_state_json = serializable_resource.to_json
end
- def more; end
+ def more
+ render layout: 'public'
+ end
- def terms; end
+ def terms
+ render layout: 'public'
+ end
private