change view context for csv builder

this change is proposed by @seanlinsley in #3197 (close #3197)
Merge pull request #3591 from activeadmin/3197_csv_view_context

change view context for csv builder