aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorRobert2017-09-13 09:57:36 +0200
committerRobert2017-09-26 17:05:10 +0200
commitc6de5d6c2e67313e3f36f9b7c2014d1ab7f6c19d (patch)
tree698ecde47a85170deeb45f6a338a16611b943e12 /app
parentda6784bf12d31da369571dd7b16e8ee463e7f67c (diff)
downloadchouette-core-c6de5d6c2e67313e3f36f9b7c2014d1ab7f6c19d.tar.bz2
Refs: #4440@1h; ImportPolicy applied in views and controller
Diffstat (limited to 'app')
-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 3333dc535..f2e65e445 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -1,4 +1,5 @@
class ImportsController < BreadcrumbController
+ include PolicyChecker
skip_before_action :authenticate_user!, only: [:download]
defaults resource_class: Import, collection_name: 'imports', instance_name: 'import'
before_action :ransack_started_at_params, only: [:index]