about_controller.rb 299 B

1234567891011
  1. # frozen_string_literal: true
  2. class AboutController < ApplicationController
  3. include WebAppControllerConcern
  4. skip_before_action :require_functional!
  5. def show
  6. expires_in(15.seconds, public: true, stale_while_revalidate: 30.seconds, stale_if_error: 1.day) unless user_signed_in?
  7. end
  8. end