add ui for changing state of context to closed. This fixes #645

This commit is contained in:
Reinier Balt 2013-03-01 16:20:15 +01:00
parent acab98d4c7
commit 4df340bd7b
12 changed files with 114 additions and 86 deletions

View file

@ -7,6 +7,7 @@ class Context < ActiveRecord::Base
scope :active, :conditions => { :state => :active }
scope :hidden, :conditions => { :state => :hidden }
scope :closed, :conditions => { :state => :closed }
acts_as_list :scope => :user, :top_of_list => 0