Foosball::Application.routes.draw do
  match '/' => redirect("http://protestsopa.org")
  match '*players' => redirect("http://protestsopa.org")
  match '*bagels' => redirect("http://protestsopa.org")

  get 'players/all' => 'players#all'

  resources :bagels
  resources :players do
    collection do
      get 'names'
      post 'names'
    end
  end

  root :to => 'bagels#home'
  get 'sign_in' => 'sign_in#index'
  post 'sign_in' => 'sign_in#create'
end

Foosball::Application.routes.draw do
  get 'players/all' => 'players#all'

  resources :bagels
  resources :players do
    collection do
      get 'names'
      post 'names'
    end
  end

  root :to => 'bagels#home'
  get 'sign_in' => 'sign_in#index'
  post 'sign_in' => 'sign_in#create'
end
Revert "Add sopa blackout redirection."
Revert "Add sopa blackout redirection."

This reverts commit 87cb8f556e4099533b61f194aa0edf74e4bb21bb.
