Added getPath method into i-router