diff options
| author | Zog | 2018-03-09 10:12:48 +0100 | 
|---|---|---|
| committer | Zog | 2018-03-12 12:00:15 +0100 | 
| commit | f65a9f30f600f092fe3596e9e4db3c015dd91616 (patch) | |
| tree | 60883c3b12a3380d8a5219b032cb640ffc398e41 /app/controllers/exports_controller.rb | |
| parent | 9b1da47adecbfb8d5d148fce06ad1aece18b41d0 (diff) | |
| download | chouette-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.rb | 4 | 
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| | 
