From 72c068203b34412103f7a55bd566dea0689518ec Mon Sep 17 00:00:00 2001 From: robin kiplangat <4bic@users.noreply.github.com> Date: Tue, 22 Mar 2016 12:40:26 +0300 Subject: [PATCH] Update routes.rb removed index get '/stats' => 'stats#index' as it references to a non-existent statscontroller --- config/routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 40b45a80..b3f222da 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'