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.18.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.18.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.17.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.17.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.17.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.16.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.15.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.15.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.15.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.14.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.14.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.13.2 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.13.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.13.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.12.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.12.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.11.1 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.10.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.9.0 lib/generators/blacklight/templates/alternate_controller.rb
blacklight-7.8.1 lib/generators/blacklight/templates/alternate_controller.rb