tab/config/routes.rb
2015-09-11 13:16:53 +02:00

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