Sha256: ea7f88223f5a314637727dd14aca4af8e2785af7e117cad92dac881d75f1cc7b

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

# frozen_string_literal: true

KafkaCommand::Engine.routes.draw do
  root 'clusters#index'
  get '/error', to: 'application#error'

  resources :clusters, only: [:index, :show] do
    resources :brokers, only: [:index, :show]
    resources :topics, id: /([^\/])+?/, format: /html|json/
    resources :consumer_groups, only: [:index, :show], id: /([^\/])+?/, format: /html|json/
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kafka_command-0.0.3 config/routes.rb
kafka_command-0.0.2 config/routes.rb