mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +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::InSyslogController < ApplicationController
|
|
include SettingConcern
|
|
|
|
private
|
|
|
|
def target_class
|
|
Fluentd::Setting::InSyslog
|
|
end
|
|
end
|