Sha256: 347c8013be1abac015aa9706d4e255fd298483f58747398d02dd3b5b236c4052

Contents?: true

Size: 233 Bytes

Versions: 9

Compression:

Stored size: 233 Bytes

Contents

module Speedup
  module ControllerHelpers
    extend ActiveSupport::Concern

    included do
      helper_method :speedup_rails_enabled?
    end

    protected

    def speedup_rails_enabled?
      Speedup.enabled?
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
speedup-rails-0.0.15 lib/speedup/controller_helpers.rb
speedup-rails-0.0.13 lib/speedup/controller_helpers.rb
speedup-rails-0.0.12 lib/speedup/controller_helpers.rb
speedup-rails-0.0.10 lib/speedup/controller_helpers.rb
speedup-rails-0.0.9 lib/speedup/controller_helpers.rb
speedup-rails-0.0.7 lib/speedup/controller_helpers.rb
speedup-rails-0.0.6 lib/speedup/controller_helpers.rb
speedup-rails-0.0.3 lib/speedup/controller_helpers.rb
speedup-rails-0.0.2 lib/speedup/controller_helpers.rb