diff --git a/app/controllers/my_profile/cms_controller.rb b/app/controllers/my_profile/cms_controller.rb index 4f611f1..7c27705 100644 --- a/app/controllers/my_profile/cms_controller.rb +++ b/app/controllers/my_profile/cms_controller.rb @@ -46,11 +46,6 @@ class CmsController < MyProfileController ] articles += special_article_types if params && params[:cms] parent_id = params ? params[:parent_id] : nil - if !parent_id or !Article.find(parent_id).has_posts? - articles += [ - RssFeed - ] - end if profile.enterprise? articles << EnterpriseHomepage end @@ -58,7 +53,7 @@ class CmsController < MyProfileController end def special_article_types - [Folder, Blog, UploadedFile, Forum, Gallery] + [Folder, Blog, UploadedFile, Forum, Gallery, RssFeed] end def view -- libgit2 0.21.2