File: engine.rb

package info (click to toggle)
ruby-select2-rails 3.5.9.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 528 kB
  • sloc: javascript: 3,391; ruby: 70; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (2)
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