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

Version Path
hephaestus-0.8.15.5 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.15.4 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.15.3 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.15.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.15.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.15 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.14 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.13 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.12.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.12.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.12 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.11 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.10 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.9.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.9.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.9 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.8 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.7.5 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.7.4 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.7.3 app/controllers/hephaestus/staff_controller.rb