Modified: trunk/app/controllers/workflows_controller.rb (2300 => 2301)
--- trunk/app/controllers/workflows_controller.rb 2009-11-24 12:47:10 UTC (rev 2300)
+++ trunk/app/controllers/workflows_controller.rb 2009-11-24 12:54:36 UTC (rev 2301)
@@ -156,6 +156,9 @@
end
}
end
+
+ @workflow.reload
+ @workflow.solr_save
end
# GET /workflows/1;download
@@ -303,6 +306,8 @@
if @workflow.save
if params[:workflow][:tag_list]
@workflow.refresh_tags(convert_tags_to_gem_format(params[:workflow][:tag_list]), current_user)
+ @workflow.reload
+ @workflow.solr_save
end
policy_err_msg = update_policy(@workflow, params)
@@ -455,6 +460,8 @@
if params[:workflow][:tag_list]
@workflow.refresh_tags(convert_tags_to_gem_format(params[:workflow][:tag_list]), current_user)
+ @workflow.reload
+ @workflow.solr_save
end
policy_err_msg = update_policy(@workflow, params)