Sha256: da3201925537fcfb52e6eaa6f6cc9e0be92ebcca469b13efdac3bab7a70605f8
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Stenographer module RoutingConstraints class ManagerOnly def matches?(request) request.session[:init] = true if Stenographer.manager.respond_to?(:call) Stenographer.manager.call(request.session) else Stenographer.manager end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems