Files
sx-fc/app/helpers/print_settings_helper.rb
2020-08-18 16:11:17 +06:30

6 lines
211 B
Ruby
Executable File

module PrintSettingsHelper
def print_settings
tag.div id: 'print_settings', class: 'hidden', data: { action_cable: Lookup.collection_of('print_settings').any? { |x| x == ["ActionCable", "1"] } }
end
end