diff --git a/web/app/views/history/index.html.haml b/web/app/views/history/index.html.haml
index 532ea87..7608d71 100644
--- a/web/app/views/history/index.html.haml
+++ b/web/app/views/history/index.html.haml
@@ -47,5 +47,5 @@
%td
- if current_user && current_user.has_role?(:admin)
= link_to('Delete',url_for(action: 'delete', id: session.id),{method: 'DELETE', class: 'btn btn-warning', "data-confirm" => 'Are you sure?'})
- -#= link_to('XLSX Export',url_for(action: 'export_to_xlsx', id: session.id),{class: 'btn btn-success'})
+ = link_to('XLSX Export',url_for(action: 'export_to_xlsx', id: session.id),{class: 'btn btn-success'})
= link_to('PDF Export',url_for(action: 'pdf', id: session.id, format: :pdf),{class: 'btn btn-default btn-primary'})
diff --git a/web/config/routes.rb b/web/config/routes.rb
index b4fbda7..d7f89f4 100644
--- a/web/config/routes.rb
+++ b/web/config/routes.rb
@@ -54,6 +54,7 @@
get '/history/show/:id' => 'history#show'
get '/history/pdf_body/:id' => 'history#pdf_body'
get '/history/pdf/:id.:format' => 'history#pdf'
+ get '/history/export_to_xlsx/:id' => 'history#export_to_xlsx'
delete '/history/delete/:id' => 'history#delete'
########### API