Correct translations scope

This commit is contained in:
Mark Stuart 2012-02-23 15:43:07 +13:00
parent 45cad84f49
commit 29809838f4

View file

@ -8,7 +8,7 @@ module Refinery
if request.post? if request.post?
Refinery::Blog::Comment::Notification.recipients = params[:recipients] Refinery::Blog::Comment::Notification.recipients = params[:recipients]
flash[:notice] = t('updated', :scope => 'admin.blog.settings.notification_recipients', flash[:notice] = t('updated', :scope => 'refinery.blog.admin.settings.notification_recipients',
:recipients => Refinery::Blog::Comment::Notification.recipients) :recipients => Refinery::Blog::Comment::Notification.recipients)
unless request.xhr? or from_dialog? unless request.xhr? or from_dialog?
redirect_back_or_default(refinery.blog_admin_posts_path) redirect_back_or_default(refinery.blog_admin_posts_path)