Update routes.rb

removed index get '/stats' => 'stats#index' as it references to a non-existent statscontroller
This commit is contained in:
robin kiplangat 2016-03-22 12:40:26 +03:00
parent a9fb07cadb
commit 72c068203b

View file

@ -27,7 +27,6 @@ Osem::Application.routes.draw do
resource :schedule, only: [:show, :update]
get 'commercials/render_commercial' => 'commercials#render_commercial'
resources :commercials, only: [:index, :create, :update, :destroy]
get '/stats' => 'stats#index'
get '/dietary_choices' => 'dietchoices#show', as: 'dietary_list'
patch '/dietary_choices' => 'dietchoices#update', as: 'dietary_update'
get '/volunteers_list' => 'volunteers#show'