Commit a3a38df761c0dd5739db28bbd020091fa38aacb4

Authored by Antonio Terceiro
1 parent ce5a8c2c

ActionItem1049: better message

no need to mention "article"
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/my_profile/cms_controller.rb
@@ -129,7 +129,7 @@ class CmsController < MyProfileController @@ -129,7 +129,7 @@ class CmsController < MyProfileController
129 @article = profile.articles.find(params[:id]) 129 @article = profile.articles.find(params[:id])
130 profile.home_page = @article 130 profile.home_page = @article
131 profile.save! 131 profile.save!
132 - flash[:notice] = _('Article "%s" configured as home page.') % @article.name 132 + flash[:notice] = _('"%s" configured as home page.') % @article.name
133 redirect_to :action => 'view', :id => @article.id 133 redirect_to :action => 'view', :id => @article.id
134 end 134 end
135 135