I found the following sentence in the novel I'm reading
「これが旅に出る最後の好機だと思っている。これまでももちろん旅に出ようと思えば資金に当てをつけることはできた。だが、踏ん切りがつかなかった。」
What does 「当てをつける」mean here? Does it mean the speaker found a place to spend or make money? 当て seems to have definitions of both 頼り and 目当て, so I'm pretty confused about what the speaker is trying to say. From context, the speaker seems to be in need of money, but I'm still unsure what is being meant here.