Skip to content

Instantly share code, notes, and snippets.

View demontrej's full-sized avatar

Juanca demontrej

  • Zenlabs
  • La Paz - Bolivia
View GitHub Profile
class ThirdpartyController < ApplicationController
before_filter :authenticate_user!
before_filter :get_consumer_info, :except => [ :index ]
def index
session[:request_token] = nil
end
def tripit
gem 'oauth'