projecthydra/sufia — pull request #199 by awead (2013-09-09 14:42:52+00:00)
Title: Return only GenericFile objects in the dashboard

The list view in the dashboard assumes that all the solr documents in the current array are generic files:

https://github.com/projecthydra/sufia/blob/master/app/views/dashboard/_index_partials/_list_files.html.erb#L19

If you're trying to add Sufia into your existing Hydra application, this won't be the case and you'll have some of your
own custom models in there as well. The change makes the dashboard's view explicit, returning only GenericFile objects to the view.

I came across this problem when I was adding Sufia into my existing application. There may be other better ways of solving this, so feel free to comment.