ActiveAdmin - Disable JSON/XML export
2012-08-18 23:25:00 UTC
Sometimes you may want to limit ActiveAdmins export functionality.
This can be done by adding the below snippit into a monkeypatch/rails initializer
Sometimes you may want to limit ActiveAdmins export functionality.
This can be done by adding the below snippit into a monkeypatch/rails initializer
I have been using:
1
page.has_selector?(:xpath, selectable).should == false
and
1
page.has_css?(selectable).should == true