app/controllers/pages_controller.rb
# used for doing the HTTP GET to Stack overflow
used for doing the HTTP GET to Stack overflow
used for doing the HTTP GET to Stack overflow
def index
    if user_signed_in?
      redirect_to token_path if current_user.sentry_token.nil?
      @sentryErrors = current_user.sentryerrors
    end
  end
def index if user_signed_in? redirect_to token_path if current_user . sentry_token . nil? @sentryErrors = current_user . sentryerrors end end
used for doing the HTTP GET to Stack overflow
used for doing the HTTP GET to Stack overflow
# check to see if they put in a sentry token. # get all the errors that belong to them.