flowplayer-gem/lib/flowplayer.rb

9 lines
192 B
Ruby

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