Sha256: 435b2b6c3a03b38b81bd61a7009ef08f949bda94b1df00ff735c1aac89cace98

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

module ActiveAdmin
  module Axlsx
    module BuildDownloadFormatLinks
      def self.included(base)
        base.send :alias_method_chain, :build_download_format_links, :xlsx
      end

      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

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-axlsx-1.0.0 lib/active_admin/axlsx/build_download_format_links.rb
activeadmin-axlsx-1.0.0a lib/active_admin/axlsx/build_download_format_links.rb