Sha256: ea2ce9c05bd1d3723d063d1c672a37150ef4bcdc0c0ee2a9bd7fd7de7bb2705b

Contents?: true

Size: 265 Bytes

Versions: 95

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true
class AlternateController < CatalogController
  configure_blacklight do |config|
    config.index.thumbnail_method = :xyz
  end

  def xyz *args
    view_context.tag "img"
  end

  helper_method :xyz if respond_to? :helper_method

end

Version data entries

95 entries across 94 versions & 2 rubygems

Version Path
blacklight-7.8.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.7.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.6.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.5.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.5.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.4.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.4.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.4.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.3.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.2.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.1.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.1.0.alpha lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.0.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.0.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.0.0.rc2 lib/generators/blacklight/templates/alternate_controller.rb