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-8.6.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.40.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.6.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.5.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.5.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.39.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.4.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.38.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/lib/generators/blacklight/templates/alternate_controller.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.3.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.2.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.2.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.2.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.37.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.36.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.36.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.36.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.35.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-8.1.0 lib/generators/blacklight/templates/alternate_controller.rb