modify paths with rails names