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 pending_applicant
    if user_signed_in? && current_user.is_pending?
      redirect_to new_applications_show_path
    end
  end
def pending_applicant if user_signed_in? && current_user . is_pending? redirect_to new_applications_show_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 .