ver todos los posts por su idioma

This commit is contained in:
f 2018-02-27 18:26:29 -03:00
parent 9a91fbc4ad
commit 6ce2d9ea2f
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -9,8 +9,12 @@
.row
.col
.btn-group
= link_to t('posts.new'), new_site_post_path(@site, lang: @lang),
class: 'btn btn-success'
- I18n.available_locales.map(&:to_s).each do |l|
= link_to t("i18n.#{l}"), site_posts_path(@site, category: @category, lang: l),
class: 'btn btn-info'
.row
.col