ヘルパーの使い方

  def link_to_action_for_profile
    if @user.recruit
      link_to '履歴書編集',:controller => 'recruit',:action => 'edit_profile' 
    else
      link_to '履歴書作成',:controller => 'recruit',:actino => 'new_profile' 
    end
  end

と定義し、<%= _to_action_for_profile %>と呼ぶ。
返り値を、"link_to〜"とかにすると、文字列で返ってしまうので注意