Rails.application.routes.draw do
  root to: "requests#index"

  get   '/login', :to => 'sessions#new', :as => :login
  get   '/logout', :to => 'sessions#destroy', :as => :logout
  get "/auth/auth0/callback" => "auth0#callback"
  get "/auth/failure" => "auth0#failure"

  get  "/groups/assign", to: "groups#inquire"
  post "/groups/assign", to: "groups#assign"

  post 'pusher/auth', to: 'pusher#auth'

  get '/active', :to => 'transactions#active', :as => :active
  get '/river', :to => 'transactions#river', :as => :river
  get '/history', :to => 'transactions#history', :as => :history

  resources :requests do
    resources :messages
  end
end

Rails.application.routes.draw do
  root to: 'welcome#index'

  get   '/login', :to => 'sessions#new', :as => :login
  get   '/logout', :to => 'sessions#destroy', :as => :logout
  get "/auth/auth0/callback" => "auth0#callback"
  get "/auth/failure" => "auth0#failure"

  get  "/groups/assign", to: "groups#inquire"
  post "/groups/assign", to: "groups#assign"

  post 'pusher/auth', to: 'pusher#auth'

  get '/active', :to => 'transactions#active', :as => :active
  get '/river', :to => 'transactions#river', :as => :river
  get '/history', :to => 'transactions#history', :as => :history

  resources :requests do
    resources :messages
  end
end

Change route path to welcome
Change route path to welcome
