diff --git a/app/controllers/event_news_mods_controller.rb b/app/controllers/event_news_mods_controller.rb index db61a09..0b10d44 100644 --- a/app/controllers/event_news_mods_controller.rb +++ b/app/controllers/event_news_mods_controller.rb @@ -171,7 +171,7 @@ class EventNewsModsController < ApplicationController cats = cats.uniq tags = tags.uniq tags_translations = {'all' => I18n.t(:all)} - Tag.where(:id.in => tags).pluck(:id, :title).each{|id, title_translations| + Tag.where(:id.in => tags).pluck(:id, :name).each{|id, title_translations| tags_translations[id.to_s] = title_translations[I18n.locale] } cats_translations = {'all' => I18n.t(:all)}