diff --git a/plugin.rb b/plugin.rb
index c1e9980..f06a458 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -21,11 +21,17 @@ register_svg_icon "far-credit-card" if respond_to?(:register_svg_icon)
register_html_builder("server:before-head-close") do |controller|
""
end
-register_html_builder("server:before-head-close") do
- ''
+register_html_builder("server:before-head-close") do |controller|
+ ""
end
-extend_content_security_policy(script_src: %w[https://js.stripe.com/v3/ https://hooks.stripe.com https://js.stripe.com/v3/pricing-table.js])
+extend_content_security_policy(
+ script_src: %w[
+ https://js.stripe.com/v3/
+ https://hooks.stripe.com
+ https://js.stripe.com/v3/pricing-table.js
+ ],
+)
add_admin_route "discourse_subscriptions.admin_navigation", "discourse-subscriptions.plans"