Sha256: 466cbb41edb18066aeabcef1d6086d41004f9b870c1cb2cb1b07d01c8f29638c

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

require "redmine_extensions/query_output"

module RedmineExtensions
  module QueryOutputs
    class TilesOutput < RedmineExtensions::QueryOutput

      def self.key
        'tiles'
      end

      def entity
        options[:entity]
      end

      def render_entity_tile(referenced_entity)
        referenced_entity.to_s
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine_extensions-1.2.0 lib/redmine_extensions/query_outputs/tiles_output.rb