You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HappySoft edited this page Jun 14, 2012
·
2 revisions
Action Items and sidebar sections now both take an :if option. You can pass in a proc that will be called in the context of the view. To hide the default actions items, use config.clear_action_items! or to hide the default sidebars, use config.clear_sidebar_sections!
For thorough examples, take a look at the CanCan docs on the wiki
in your activeadmin model
ActiveAdmin.registerLicensePlatedoconfig.clear_action_items!
...
end