From 08d03263dda5963323814b7936ce73d62a6510a4 Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 19 Jun 2014 03:06:36 -0400 Subject: [PATCH] fix error --- app/models/bulk_update_request.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/bulk_update_request.rb b/app/models/bulk_update_request.rb index a5635f6d5..b78db9970 100644 --- a/app/models/bulk_update_request.rb +++ b/app/models/bulk_update_request.rb @@ -27,6 +27,8 @@ class BulkUpdateRequest < ActiveRecord::Base end end + extend SearchMethods + def approve! AliasAndImplicationImporter.new(script, forum_topic_id, "1").process! update_attribute(:status, "approved")