5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:21:42 +00:00
panel/app/controllers/env_controller.rb

11 lines
203 B
Ruby
Raw Normal View History

2021-02-02 21:52:54 +00:00
# frozen_string_literal: true
class EnvController < ActionController::Base
skip_before_action :verify_authenticity_token
def index
@site = Site.find_by_name('panel')
stale? @site
end
end