Removed getPathByAction method

Sinc we may reuse action type for multiple paths, it is not reliable