derp again
This commit is contained in:
parent
fd671a23ab
commit
8ebe79fade
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue