Commit b97c253d by liyijie

fix export error

parent 90f0e16f
...@@ -67,6 +67,7 @@ module TalltyImportExport ...@@ -67,6 +67,7 @@ module TalltyImportExport
end end
def export_headers def export_headers
binding.pry
klass.try(:headers) || klass.try(:model_headers) klass.try(:headers) || klass.try(:model_headers)
end end
......
module TalltyImportExport module TalltyImportExport
module Exportable module Exportable
extend ActiveSupport::Concern extend ActiveSupport::Concern
include Common
included do |base| included do |base|
# base.include(Common) # base.include(Common)
......
module TalltyImportExport module TalltyImportExport
module Importable module Importable
extend ActiveSupport::Concern extend ActiveSupport::Concern
include Common
included do |base| included do |base|
# base.include(Common) # base.include(Common)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment