Skip to content
mshibuya edited this page Aug 22, 2012 · 6 revisions

Example authorizations for cancan:

  can :manage, :all
  # includes
  can :dashboard

Disabling record count bars:

You can hide dashboard statistics graphs by the action configuration. This is useful on working with huge dataset which take much time to be queried upon.

RailsAdmin.config do |c|
  c.actions do
    dashboard do
      statistics false
    end
  end
end

More here

Clone this wiki locally