Sha256: 62c184a9eb21fb180cce594860ed67518c9014602a5cb55f66642865fe3b8352
Contents?: true
Size: 358 Bytes
Versions: 42
Compression:
Stored size: 358 Bytes
Contents
# typed: false # frozen_string_literal: true module Hephaestus class StaffController < ApplicationController layout "staff" class << self def staff_request?(request) return true if Rails.env.development? true end end def index render404 unless StaffController.staff_request?(request) end end end
Version data entries
42 entries across 42 versions & 1 rubygems