Module: Firewall::DashboardHelper

Defined in:
app/helpers/firewall/dashboard_helper.rb

Class Method Summary collapse

Class Method Details

.blacklisting_active?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/helpers/firewall/dashboard_helper.rb', line 5

def blacklisting_active?
  return IptablesHelper.show_rules.include?("blacklistdrop")
end