mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:06:20 +00:00
11 lines
227 B
Ruby
11 lines
227 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EnvController < ActionController::Base
|
|
skip_before_action :verify_authenticity_token
|
|
|
|
def index
|
|
@site = Site.find_by_name('panel') || Site.first
|
|
|
|
stale? @site if @site
|
|
end
|
|
end
|