Fixed bug on app start: no such file to load -- flowplayer/engine (LoadError)

This commit is contained in:
Mike Sager 2012-02-29 02:47:40 -08:00
parent ee1c1e346e
commit 6f6a79d89a
1 changed files with 2 additions and 2 deletions

View File

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