* make it so it's easy to find jam tracks with problems

This commit is contained in:
Seth Call 2015-08-09 13:57:19 -05:00
parent af355ec096
commit eba1280708
1 changed files with 4 additions and 1 deletions

View File

@ -5,9 +5,12 @@ ActiveAdmin.register JamRuby::JamTrack, :as => 'JamTracks' do
config.sort_order = 'name_asc'
config.batch_actions = false
filter :genre
filter :genres
filter :status, :as => :select, collection: JamRuby::JamTrack::STATUS
scope("Default", default: true) { |scope| scope }
scope("Onboarding TODO") { |scope| scope.where('onboarding_exceptions is not null') }
form :partial => 'form'
index do