mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 08:47:06 +02:00
Remove unused instance variables
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
fe424e9743
commit
cfeacf958c
@ -14,15 +14,11 @@ module SettingConcern
|
|||||||
@storage = @setting.create_storage
|
@storage = @setting.create_storage
|
||||||
@parser = @setting.create_parser
|
@parser = @setting.create_parser
|
||||||
@formatter = @setting.create_formatter
|
@formatter = @setting.create_formatter
|
||||||
@_used_param = {}
|
|
||||||
@_used_section = {}
|
|
||||||
render "shared/settings/show"
|
render "shared/settings/show"
|
||||||
end
|
end
|
||||||
|
|
||||||
def finish
|
def finish
|
||||||
@setting = target_class.new(setting_params)
|
@setting = target_class.new(setting_params)
|
||||||
@_used_param = {}
|
|
||||||
@_used_section = {}
|
|
||||||
unless @setting.valid?
|
unless @setting.valid?
|
||||||
return render "shared/settings/show"
|
return render "shared/settings/show"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user