Replace open to active filter on admin legislation processes index

Now active filter show open processes and the next ones, processes with a start date greather than current date.
This commit is contained in:
decabeza
2019-02-14 16:11:37 +01:00
parent a9d96f7e23
commit 0d834744fd
5 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
class Admin::Legislation::ProcessesController < Admin::Legislation::BaseController
include Translatable
has_filters %w[open all], only: :index
has_filters %w[active all], only: :index
load_and_authorize_resource :process, class: "Legislation::Process"