Sha256: 78699456984a818ebac9c0f8dd4b1406fd79a8f5fb98696e782bd7deceeacf22

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

module SpeedupRails
  class ApplicationController < ActionController::Base

    before_action :disable_collectors

    private
      def disable_collectors
        Speedup.temporary_disabled = true
      end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
speedup-rails-0.0.15 app/controllers/speedup_rails/application_controller.rb
speedup-rails-0.0.2 app/controllers/speedup_rails/application_controller.rb