myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2916] trunk/app/controllers/packs_controller.rb:


From: noreply
Subject: [myexperiment-hackers] [2916] trunk/app/controllers/packs_controller.rb: adding a tag to a pack causes immediate reindexing of the pack
Date: Fri, 20 Jan 2012 11:04:58 -0500 (EST)

Revision
2916
Author
dgc
Date
2012-01-20 11:04:58 -0500 (Fri, 20 Jan 2012)

Log Message

adding a tag to a pack causes immediate reindexing of the pack

Modified Paths

Diff

Modified: trunk/app/controllers/packs_controller.rb (2915 => 2916)


--- trunk/app/controllers/packs_controller.rb	2012-01-20 15:59:25 UTC (rev 2915)
+++ trunk/app/controllers/packs_controller.rb	2012-01-20 16:04:58 UTC (rev 2916)
@@ -216,6 +216,7 @@
     @pack.tags_user_id = current_user # acts_as_taggable_redux
     @pack.tag_list = "address@hidden, #{convert_tags_to_gem_format params[:tag_list]}" if params[:tag_list]
     @pack.update_tags # hack to get around acts_as_versioned
+    @pack.solr_save if Conf.solr_enable
     
     respond_to do |format|
       format.html { 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]