diff options
| author | Xinhui | 2017-03-22 12:58:19 +0100 |
|---|---|---|
| committer | Xinhui | 2017-03-22 12:58:39 +0100 |
| commit | 840241c12211a5e46e5c38cc2007339d9e00c02f (patch) | |
| tree | e008f8f0f7c63bb7ff94791225af3c77d4d96d3a /app/controllers/imports_controller.rb | |
| parent | f5da4a8cb1b579071ce63373e9ec6ca43feaf78a (diff) | |
| download | chouette-core-840241c12211a5e46e5c38cc2007339d9e00c02f.tar.bz2 | |
Skip authenticate_user for imports#download
Refs #2719
Diffstat (limited to 'app/controllers/imports_controller.rb')
| -rw-r--r-- | app/controllers/imports_controller.rb | 1 |
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 |
