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 token
    if !current_user.sentry_token.nil?
      redirect_to root_path
    end
    if !params[:user].nil?
      current_user.update(:sentry_token => params[:user][:sentry_token])
      redirect_to root_path
    end
  end
def token if ! current_user . sentry_token . nil? redirect_to root_path end if ! params [ :user ] . nil? current_user . update ( :sentry_token => params [ :user ] [ :sentry_token ] ) redirect_to root_path end end
used for doing the HTTP GET to Stack overflow
used for doing the HTTP GET to Stack overflow