Module: Plug::ApplicationHelper
- Defined in:
- app/helpers/plug/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#asset_tags ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'app/helpers/plug/application_helper.rb', line 5 def asset_source = defined?(ViteRuby) ? :vite : :other case asset_source when :vite vite_javascript_tag 'entrypoints/plug' else raise 'Plug does not support asset pipelines anymore. Use Vite.js instead.' end end |