aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/exports_controller.rb
diff options
context:
space:
mode:
authorZog2018-03-09 10:12:48 +0100
committerZog2018-03-12 12:00:15 +0100
commitf65a9f30f600f092fe3596e9e4db3c015dd91616 (patch)
tree60883c3b12a3380d8a5219b032cb640ffc398e41 /app/controllers/exports_controller.rb
parent9b1da47adecbfb8d5d148fce06ad1aece18b41d0 (diff)
downloadchouette-core-f65a9f30f600f092fe3596e9e4db3c015dd91616.tar.bz2
Refs #6133; Full UX for exports
Also added a *dumb* `WorkgroupExport` for testing purposes.
Diffstat (limited to 'app/controllers/exports_controller.rb')
-rw-r--r--app/controllers/exports_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/exports_controller.rb b/app/controllers/exports_controller.rb
index 3a91217e4..7ea57341a 100644
--- a/app/controllers/exports_controller.rb
+++ b/app/controllers/exports_controller.rb
@@ -7,6 +7,10 @@ class ExportsController < ChouetteController
private
+ def index_model
+ Export::Base
+ end
+
def build_resource
Export::Base.force_load_descendants if Rails.env.development?
@export ||= Export::Base.new(*resource_params) do |export|