Sha256: b4d481d14b20f24e3354d6363da546eb51a1ef1b00ff79202a3c6d8738cc6dd2

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

module SnapshotInspector
  class ApplicationController < ActionController::Base
    helper SnapshotInspector::Engine.helpers

    content_security_policy(false)

    private

    def snapshot_not_found(error)
      @error = error
      render "snapshot_inspector/snapshots/not_found", status: 404
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snapshot_inspector-0.1.1 app/controllers/snapshot_inspector/application_controller.rb