Commit 1d7390d55f87b092d4482963ef55a8e680eec9be
1 parent
5e12aad3
Exists in
master
and in
22 other branches
ActionItem1218: using id instead of name
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/environment.rb
@@ -659,7 +659,7 @@ class Environment < ActiveRecord::Base | @@ -659,7 +659,7 @@ class Environment < ActiveRecord::Base | ||
659 | end | 659 | end |
660 | 660 | ||
661 | def portal_news_cache_key | 661 | def portal_news_cache_key |
662 | - "home-page-news-#{id}_#{portal_community.name}" | 662 | + "home-page-news/#{id}/#{portal_community.id}" |
663 | end | 663 | end |
664 | 664 | ||
665 | after_create :create_templates | 665 | after_create :create_templates |