app/views/decidim/notify/conversations/_script.js.erb in decidim-notify-0.4 vs app/views/decidim/notify/conversations/_script.js.erb in decidim-notify-0.5

- old
+ new

@@ -1,7 +1,9 @@ <script type="text/javascript"> window.Notify = window.Notify || {}; window.Notify.id = <%= id %>; + window.Notify.cableUrl = "<%= Decidim::Notify.config.cable_mount_path %>"; + window.Notify.defaultAvatar = '<%= ActionController::Base.helpers.asset_pack_path("media/images/default-avatar.svg") %>'; </script> -<%= javascript_include_tag "decidim/notify/conversations" %> -<%= javascript_include_tag "channels/decidim/notify/conversations" %> +<%= javascript_include_tag "https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js" %> +<%= javascript_pack_tag "decidim_notify_component" %>