Sha256: 93d038f0e7723f3342cb04574e51f75cbbe566266a647aa9dad16e543472ce76

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

Trestle.configure do |config|
  config.hook("stylesheets") do
    stylesheet_link_tag "trestle/resource_description"
  end

  config.hook("resource.index.header", if: -> { admin.resource_described? }) do
    render "trestle/resource_helpers/resource_description"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trestle-resource_helpers-0.1.1 config/initializers/trestle.rb
trestle-resource_helpers-0.1.0 config/initializers/trestle.rb