63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# File 'lib/web_console/railtie.rb', line 63
def web_console_permissions
case
when config.web_console.permissions
config.web_console.permissions
when config.web_console.allowed_ips
config.web_console.allowed_ips
when config.web_console.whitelisted_ips
WebConsole.deprecator.warn(<<-MSG.squish)
The config.web_console.whitelisted_ips is deprecated and will be ignored in future release of web_console.
Please use config.web_console.allowed_ips instead.
MSG
config.web_console.whitelisted_ips
end
end
|