Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #185 - Add support for conditionally display Dashboard sections at #551

Commits on Sep 30, 2011

  1. Issue activeadmin#185 - Add support for conditionally display Dashboa…

    …rd sections at run-time
    
    Provide a method name or Proc object to conditionally render a section at run time
      section "Membership Summary", :if => :memberships_enabled?
      section "Membership Summary", :if => Proc.new { current_admin_user.account.memberships.any? }
    samvincent committed Sep 30, 2011
    Copy the full SHA
    e98a601 View commit details
    Browse the repository at this point in the history