mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 08:47:06 +02:00
Adding support for some plugins was hard. After this commit, easy to add a plugin that has commonly setting style. Before: - Add model, controller, and views for it. After: - Add model and controller. view is shared.
10 lines
165 B
Ruby
10 lines
165 B
Ruby
class Fluentd::Settings::OutMongoController < ApplicationController
|
|
include SettingConcern
|
|
|
|
private
|
|
|
|
def target_class
|
|
Fluentd::Setting::OutMongo
|
|
end
|
|
end
|