tab/config/routes.rb

10 lines
260 B
Ruby

Rails.application.routes.draw do
devise_for :users, controllers: {
omniauth_callbacks: 'callbacks'
}
root to: 'high_voltage/pages#show', id: "landing"
resources :transactions, only: [:index, :create]
resources :users, only: [:show, :index]
end