routes.rb 232 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1 2
Rails.application.routes.draw do
  devise_for :users, controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
3 4 5 6 7 8 9

  resources :friends, only: :index do
    member do
      get :follow
    end
  end

Eugen Rochko's avatar
Eugen Rochko committed
10 11
  root to: 'home#index'
end