lib/cacheable_flash.rb in cacheable_flash-0.2.0 vs lib/cacheable_flash.rb in cacheable_flash-0.2.1
- old
+ new
@@ -1,9 +1,10 @@
module CacheableFlash
if ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 0
require 'cacheable_flash/rails/railtie'
elsif ::Rails.version >= "3.1"
require 'cacheable_flash/rails/engine'
+ require 'cacheable_flash/rails/railtie'
else
# For older rails use generator
end
def self.included(base)