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.7.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.7.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.7 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.6 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.5 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.4.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.4 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.3.4 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.3.3 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.3.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.3.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.3 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.2 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.8.0 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.7.3.1 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.7.3 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.7.2.5 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.7.2.4 app/controllers/hephaestus/staff_controller.rb
hephaestus-0.7.2.3 app/controllers/hephaestus/staff_controller.rb