How to hide Add new option in Rails Admin

rails-admin, ruby-on-rails, ruby-on-rails-3

Solution

I use the following to achieve this on a specific model. Hopefully, this helps:

config.actions do
  new do
    except ['Some Model']
  end
end

Problem

I am customizing Rails Admin : https://github.com/sferik/rails_admin , i need to disable/hide "Add new" option for some model. Any help will save lot time for me. Thanks in advance

Original source