diff options
Diffstat (limited to 'app/controllers/admin/blog/settings_controller.rb')
-rw-r--r-- | app/controllers/admin/blog/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/blog/settings_controller.rb b/app/controllers/admin/blog/settings_controller.rb index a9b053e..7d0c230 100644 --- a/app/controllers/admin/blog/settings_controller.rb +++ b/app/controllers/admin/blog/settings_controller.rb @@ -7,7 +7,7 @@ module Admin if request.post? BlogComment::Notification.recipients = params[:recipients] - flash[:notice] = t('updated', :scope => 'admin.blog.settings.notification_recipients' + flash[:notice] = t('updated', :scope => 'admin.blog.settings.notification_recipients', :recipients => BlogComment::Notification.recipients) unless request.xhr? or from_dialog? redirect_back_or_default(admin_blog_posts_path) |