derp again

This commit is contained in:
Scott Davis 2011-11-08 19:17:04 -05:00
parent fd671a23ab
commit 8ebe79fade
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,5 @@
require 'flowplayer/player' require 'flowplayer/player'
if defined?(Rails) if defined?(Rails)
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
require 'flowplayer/engine'
end
require 'flowplayer/railtie' require 'flowplayer/railtie'
end end

View File

@ -12,3 +12,7 @@ module Flowplayer
end end
end end
end end
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
require 'flowplayer/railties/engine'
end