Permalink
Browse files

fix article title translation

  • Loading branch information...
1 parent c9766b3 commit a0dd726aebdc49891a4db69994badf8c65b75576 @ck3g committed Mar 11, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 app/controllers/articles_controller.rb
  2. +1 −0 config/locales/ru.yml
@@ -8,7 +8,7 @@ class ArticlesController < ApplicationController
def index
relation = apply_scopes(Article.accessible_by(current_ability))
@articles = ArticleQuery.new(relation).list.page(params[:page])
- set_meta_tags title: I18n.t(:articles)
+ set_meta_tags title: I18n.t(:articles_title)
end
def new
@@ -91,4 +91,5 @@ ru:
new_page: Новая страница
create_page: Создать страницу
pages: Страницы
+ articles_title: Новости

0 comments on commit a0dd726

Please sign in to comment.