aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2017-03-22 12:58:19 +0100
committerXinhui2017-03-22 12:58:39 +0100
commit840241c12211a5e46e5c38cc2007339d9e00c02f (patch)
treee008f8f0f7c63bb7ff94791225af3c77d4d96d3a
parentf5da4a8cb1b579071ce63373e9ec6ca43feaf78a (diff)
downloadchouette-core-840241c12211a5e46e5c38cc2007339d9e00c02f.tar.bz2
Skip authenticate_user for imports#download
Refs #2719
-rw-r--r--app/controllers/imports_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb
index 94fa9d944..70c5c1a0d 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -1,4 +1,5 @@
class ImportsController < BreadcrumbController
+ skip_before_action :authenticate_user!, only: [:download]
defaults resource_class: Import, collection_name: 'imports', instance_name: 'import'
respond_to :html
belongs_to :workbench