diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 524335a5..4acf7656 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -16,7 +16,7 @@ class PostsController < ApplicationController authorize Post @site = find_site - @q = params[:q] + @locale = locale dictionary = IndexedPost.to_dictionary(locale: locale) # XXX: Cada vez que cambiamos un Post tocamos el sitio con lo que es