IndexAsBlog issue with title helper #1280

Closed
latortuga opened this Issue Apr 25, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

latortuga commented Apr 25, 2012

Passing a block to the title helper inside an index as a blog causes the actual page header to be preceded with the content of the block (this code is copied directly from activeadmin.info with only a change to the resource name):

index :as => :blog do
  title do |evt|
    span evt.topic, :class => 'title'
    span evt.created_at, :class => 'created_at'
  end
end

Wonky Header

Relevant versions: AA 0.4.3, Rails 3.2.2, Ruby 1.9.3-p0

My best guess is that the title helper is colliding with another helper.

Contributor

jpmckinney commented Aug 29, 2012

Same as #1584

jpmckinney closed this Aug 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment