File: engine.rb

package info (click to toggle)
ruby-jquery-datatables-rails 3.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: javascript: 16,004; ruby: 86; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# Configure for Rails 3.1
module Jquery
  module Datatables
    if defined?(::Rails) and Gem::Requirement.new('>= 3.1').satisfied_by?(Gem::Version.new ::Rails.version)
      module Rails
        class Engine < ::Rails::Engine
	  config.root = '/usr/share/ruby-jquery-datatables-rails'
        end
      end
    end
  end
end