backbone-fails/lib/backbone-rails.rb

12 lines
183 B
Ruby
Raw Normal View History

2011-05-17 23:43:02 +00:00
require 'rails'
2011-05-18 13:32:31 +00:00
module Backbone
module Rails
if ::Rails.version < "3.1"
require 'backbone-rails/railtie'
else
require 'backbone-rails/engine'
2011-05-17 23:43:02 +00:00
end
end
end