Sha256: fe3b7131f7d67d9e660d15486f3831d462dfdeffc09447be3239c16cb96a1115
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
module ActiveAdmin module Axlsx module BuildDownloadFormatLinks def self.included(base) base.send :alias_method_chain, :build_download_format_links, :xlsx end # We are patching the build_download_format_links to include the :xlsx format # Once ActiveAdmin 0.5.1 or higher has been released this can and should be removed. def build_download_format_links_with_xlsx(formats = [:csv, :xml, :json, :xlsx]) build_download_format_links_without_xlsx(formats) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems