mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 19:46:22 +00:00
necesitamos el locale para poder marcar el idioma actual
This commit is contained in:
parent
754e8fbbcc
commit
e1055cc912
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue