~cytrogen/masto-fe

ref: e83059fd9d6cd4c6fa8723a36c9a4c7a62ae637b masto-fe/app/controllers/about_controller.rb -rw-r--r-- 299 bytes
e83059fd — Claire [Glitch] Fix explore prompt appearing because of posts being received out of order 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