Add a button to download the stats in CSV

This commit is contained in:
lucien mollard 2018-08-13 14:46:22 +02:00 committed by gregoirenovel
parent 746f9c8f78
commit 9292e243ef
3 changed files with 43 additions and 1 deletions

View file

@ -99,7 +99,8 @@ Rails.application.routes.draw do
get 'users' => 'users#index'
get 'admin' => 'admin#index'
resources :stats, only: [:index]
get '/stats' => 'stats#index'
get '/stats/download' => 'stats#download'
resources :accessibilite, only: [:index]
resources :demandes, only: [:new, :create]