about summary refs log tree commit diff
path: root/app/controllers/about_controller.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-26 15:26:51 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:20 -0500
commita4c56505f41a191a21e595c26060510df3f2b909 (patch)
tree9f0d64703ad2d811d486ba1b8d15cb468cab0f02 /app/controllers/about_controller.rb
parent1d3e5bdd24f25e1870f3d3bec1c81040a423f138 (diff)
[UI] Merge landing and about page
Diffstat (limited to 'app/controllers/about_controller.rb')
-rw-r--r--app/controllers/about_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb
index 1f8f9ff58..bf3d3ff42 100644
--- a/app/controllers/about_controller.rb
+++ b/app/controllers/about_controller.rb
@@ -11,9 +11,7 @@ class AboutController < ApplicationController
 
   skip_before_action :require_functional!, only: [:more, :terms]
 
-  def show; end
-
-  def more
+  def show
     flash.now[:notice] = I18n.t('about.instance_actor_flash') if params[:instance_actor]
 
     toc_generator = TOCGenerator.new(@instance_presenter.site_extended_description)
@@ -24,6 +22,8 @@ class AboutController < ApplicationController
     @allows            = DomainAllow.where(hidden: false) if display_allows?
   end
 
+  alias more show
+
   def terms; end
 
   helper_method :display_allows?