create a new table to maintain csv export log

This commit is contained in:
Arpit Jalan
2014-12-24 14:41:41 +05:30
parent bb152a5b3f
commit 7c7474aa10
9 changed files with 86 additions and 63 deletions

View File

@@ -436,8 +436,10 @@ Discourse::Application.routes.draw do
collection do
get "export_entity" => "export_csv#export_entity"
end
member do
get "" => "export_csv#show", constraints: { id: /[^\/]+/ }
end
end
get "export_csv/:entity/:file_id" => "export_csv#show", constraints: {entity: USERNAME_ROUTE_FORMAT, file_id: /[^\/]+/}
get "onebox" => "onebox#show"