Extract logic of resource_name determination to the separate function.
Extract logic of resource_name determination to the separate function.

romul/ex_admin,kleinernik/ex_admin,Kociamber/ex_admin,whitepaperclip/ex_admin,Kociamber/ex_admin,smpallen99/ex_admin,kleinernik/ex_admin,smpallen99/ex_admin,whitepaperclip/ex_admin,romul/ex_admin