From 7bdd376526ffbb9906bbca250b4a09ede352e581 Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Sat, 23 Sep 2023 19:02:25 +0200 Subject: [PATCH] align roda routing styling (#152) * align roda routing styling * same for pro --- lib/karafka/web/ui/app.rb | 2 +- lib/karafka/web/ui/pro/app.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/karafka/web/ui/app.rb b/lib/karafka/web/ui/app.rb index 00accf2e..d9b9a4ff 100644 --- a/lib/karafka/web/ui/app.rb +++ b/lib/karafka/web/ui/app.rb @@ -16,7 +16,7 @@ class App < Base # Serve current version specific assets to prevent users from fetching old assets # after upgrade - r.on(:assets, Karafka::Web::VERSION) do + r.on 'assets', Karafka::Web::VERSION do r.public end diff --git a/lib/karafka/web/ui/pro/app.rb b/lib/karafka/web/ui/pro/app.rb index c22c540f..b9512442 100644 --- a/lib/karafka/web/ui/pro/app.rb +++ b/lib/karafka/web/ui/pro/app.rb @@ -36,7 +36,7 @@ class App < Ui::Base # Serve current version specific assets to prevent users from fetching old assets # after upgrade - r.on(:assets, Karafka::Web::VERSION) do + r.on 'assets', Karafka::Web::VERSION do r.public end