config function

the config function redirects to the resource function using 'config'
as the first parameter and the given parameter as the second parameter
remove line breaks to use editor line wraps