small i18n/translation fixes
This commit is contained in:
parent
3e9ca336a8
commit
ee5f7ff1b8
2 changed files with 5 additions and 5 deletions
|
|
@ -5,17 +5,17 @@ class ArticleCategoriesController < ApplicationController
|
|||
before_filter :authenticate_article_meta
|
||||
|
||||
def create
|
||||
create!(:notice => I18n.t('controllers.create.notice')) { article_categories_path }
|
||||
create!(:notice => I18n.t('article_categories.create.notice')) { article_categories_path }
|
||||
end
|
||||
|
||||
def update
|
||||
update!(:notice => I18n.t('controllers.update.notice')) { article_categories_path }
|
||||
update!(:notice => I18n.t('article_categories.update.notice')) { article_categories_path }
|
||||
end
|
||||
|
||||
def destroy
|
||||
destroy!
|
||||
rescue => error
|
||||
redirect_to article_categories_path, alert: I18n.t('controllers.destroy.error', message: error.message)
|
||||
redirect_to article_categories_path, alert: I18n.t('article_categories.destroy.error', message: error.message)
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue