app/controllers/application_controller.rb
#this ugly hack lets us have link_to available without overwriting
#ActionController::Base#url_for.
this ugly hack lets us have link_to available without overwriting
ActionController::Base#url_for.
this ugly hack lets us have link_to available without overwriting ActionController :: Base#url_for .
def new_applicant
    if user_signed_in? && current_user.is_new?
      redirect_to new_application_path
    end
  end
def new_applicant if user_signed_in? && current_user . is_new? redirect_to new_application_path end end
this ugly hack lets us have link_to available without overwriting
ActionController::Base#url_for.
this ugly hack lets us have link_to available without overwriting ActionController :: Base#url_for .