File: engine.rb

package info (click to toggle)
ruby-select2-rails 3.5.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 508 kB
  • ctags: 387
  • sloc: ruby: 70; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
module Select2
  module Rails
    class Engine < ::Rails::Engine
      config.root = '/usr/share/ruby-select2-rails'
      initializer :images do |app|
        app.config.assets.precompile +=
          %w(select2.png select2-spinner.gif select2x2.png)
      end
    end
  end
end