Sha256: 7c01317a9c054c016abd106880a88fa9a4137b10fe7eed6a0ea478b79bc76deb
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true # rails 3.1+ if defined?(Rails::Railtie) module CookiesAndCream class Railtie < Rails::Railtie isolate_namespace CookiesAndCream if defined? isolate_namespace # rails 3.0 initializer "cookies_and_cream.middleware" do Rails.application.config.middleware.insert_before 0, CookiesAndCream::Middleware end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cookies_and_cream-0.1.0 | lib/cookies_and_cream/railtie.rb |