ver todos los posts por su idioma
This commit is contained in:
parent
9a91fbc4ad
commit
6ce2d9ea2f
1 changed files with 6 additions and 2 deletions
|
@ -9,8 +9,12 @@
|
|||
|
||||
.row
|
||||
.col
|
||||
= link_to t('posts.new'), new_site_post_path(@site, lang: @lang),
|
||||
class: 'btn btn-success'
|
||||
.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
|
||||
|
|
Loading…
Reference in a new issue