diff options
-rw-r--r-- | site/lib/tasks/update_discussion_times.rake (renamed from site/lib/tasks/update_discussion_times.rb) | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/lib/tasks/update_discussion_times.rb b/site/lib/tasks/update_discussion_times.rake index 7d85595..885df24 100644 --- a/site/lib/tasks/update_discussion_times.rb +++ b/site/lib/tasks/update_discussion_times.rake @@ -1,6 +1,5 @@ -desc = 'Update discussion times for ageda items that are not assigned or assigned to current agenda' - namespace :management do + desc 'Update discussion times for agenda items that are not assigned or assigned to current agenda' task :update_discussion_times => :environment do current_items = Agenda.current.agenda_items unassigned_items = AgendaItem.agenda_is(nil) |