Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Moved data import to a background task
Browse files Browse the repository at this point in the history
  • Loading branch information
mosic committed Jun 25, 2014
1 parent 04348de commit f2e1f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails_admin_import_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ImportCSV < RailsAdmin::Config::Actions::Base
Proc.new do
download_csv_from_google_drive

import_csv_from_google_drive
call_rake('import_csv_from_google_drive')

redirect_to back_or_index
end
Expand Down

0 comments on commit f2e1f8e

Please sign in to comment.