~cytrogen/masto-fe

ref: 8e4251f9e75992c13cbb3acd2d47a895278b3fbf masto-fe/app/controllers/about_controller.rb -rw-r--r-- 299 bytes
8e4251f9 — github-actions[bot] New Crowdin Translations (automated) (#27270) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AboutController < ApplicationController
  include WebAppControllerConcern

  skip_before_action :require_functional!

  def show
    expires_in(15.seconds, public: true, stale_while_revalidate: 30.seconds, stale_if_error: 1.day) unless user_signed_in?
  end
end