Class: Karafka::Web::Ui::Controllers::Routing
- Defined in:
- lib/karafka/web/ui/controllers/routing.rb
Overview
Routing presentation controller
Direct Known Subclasses
Instance Method Summary collapse
-
#index ⇒ Object
Routing list.
-
#show(topic_id) ⇒ Object
Given route details.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Karafka::Web::Ui::Controllers::Base
Instance Method Details
#index ⇒ Object
Routing list
15 16 17 18 19 20 21 22 23 |
# File 'lib/karafka/web/ui/controllers/routing.rb', line 15 def index @routes = Karafka::App.routes @routes.each do |consumer_group| refine(consumer_group.topics) end render end |