From d037718d259d8ec5e01d6ce3fe322b7d8d359cc0 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 11 Jun 2014 18:37:54 +0000 Subject: [PATCH] [template-welcome-page] Allow any profile template to have a welcome page --- app/controllers/my_profile/profile_editor_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/my_profile/profile_editor_controller.rb b/app/controllers/my_profile/profile_editor_controller.rb index b03482a..e06532b 100644 --- a/app/controllers/my_profile/profile_editor_controller.rb +++ b/app/controllers/my_profile/profile_editor_controller.rb @@ -100,7 +100,7 @@ class ProfileEditorController < MyProfileController private def has_welcome_page - profile.person? && profile.is_template + profile.is_template end def access_welcome_page -- libgit2 0.21.2