{"action":"closed","issue":{"url":"https://api.github.com/repos/sferik/rails_admin/issues/2406","repository_url":"https://api.github.com/repos/sferik/rails_admin","labels_url":"https://api.github.com/repos/sferik/rails_admin/issues/2406/labels{/name}","comments_url":"https://api.github.com/repos/sferik/rails_admin/issues/2406/comments","events_url":"https://api.github.com/repos/sferik/rails_admin/issues/2406/events","html_url":"https://github.com/sferik/rails_admin/issues/2406","id":107505764,"number":2406,"title":"How to create custom action like Export Found ?","user":{"login":"tmacbg","id":4602694,"avatar_url":"https://avatars.githubusercontent.com/u/4602694?v=3","gravatar_id":"","url":"https://api.github.com/users/tmacbg","html_url":"https://github.com/tmacbg","followers_url":"https://api.github.com/users/tmacbg/followers","following_url":"https://api.github.com/users/tmacbg/following{/other_user}","gists_url":"https://api.github.com/users/tmacbg/gists{/gist_id}","starred_url":"https://api.github.com/users/tmacbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmacbg/subscriptions","organizations_url":"https://api.github.com/users/tmacbg/orgs","repos_url":"https://api.github.com/users/tmacbg/repos","events_url":"https://api.github.com/users/tmacbg/events{/privacy}","received_events_url":"https://api.github.com/users/tmacbg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T12:55:12Z","updated_at":"2016-02-05T14:38:41Z","closed_at":"2016-02-05T14:38:41Z","body":"I'm trying to make a custom action that has the functionality of export found - to apply action to all filtered items .\r\n\r\nfor now I have : \r\nif request.post?\r\n                @objects = @model_config.abstract_model.scoped\r\n\r\nBut this works if I predefine scope but not for randomly applied filters.\r\n\r\nAny help will be useful ."}}