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'
if defined?(Rails)
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
require 'flowplayer/engine'
end
require 'flowplayer/railtie'
end

View File

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