We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39d179 commit 7685a73Copy full SHA for 7685a73
app/controllers/unsorted_tags_controller.rb
@@ -20,6 +20,7 @@ def mass_update
20
tags.each do |tag|
21
new_type = params[:tags][tag.id.to_s]
22
raise "#{new_type} is not a valid tag type" unless Tag::USER_DEFINED.include?(new_type)
23
+
24
tag.update_attribute(:type, new_type)
25
end
26
flash[:notice] = ts("Tags were successfully sorted.")
0 commit comments