<NME> routes.rb
<BEF> Clahub::Application.routes.draw do
  root to: "dashboard#show"
end
  match 'auth/github/callback' => 'github_oauth#callback', :as => :github_oauth_callback
  match 'auth/github_limited/callback' => 'github_limited_oauth#callback', :as => :github_limited_oauth_callback
  match 'auth/failure' => 'github_oauth#failure'
  match 'sign_out' => 'sessions#destroy', :as => :sign_out

  resources :repos, only: [:index]
  resources :agreements, only: [:index, :new, :create]

  constraints :repo_name => /[^\/]+/ do
    get 'agreements/:user_name/:repo_name.csv' => 'agreements#show', :as => :agreement, :format => :csv
    get 'agreements/:user_name/:repo_name' => 'agreements#show', :as => :agreement
    delete 'agreements/:user_name/:repo_name' => 'agreements#destroy', :as => :agreement
    put 'agreements/:user_name/:repo_name' => 'agreements#update', :as => :agreement
    post 'agreements/:user_name/:repo_name/signatures' => 'signatures#create', :as => :agreement_signature
  end

  post 'repo_hook' => 'github_webhooks#repo_hook'

  resource :markdown_preview
end

<MSG> Add GitHub OAuth

<DFF> @@ -1,3 +1,4 @@
 Clahub::Application.routes.draw do
   root to: "dashboard#show"
+  match 'auth/github/callback' => 'github_oauth#callback', :as => :github_oauth_callback
 end

Add GitHub OAuth