Commit d037718d259d8ec5e01d6ce3fe322b7d8d359cc0
1 parent
5c70980c
Exists in
master
and in
27 other branches
[template-welcome-page] Allow any profile template to have a welcome page
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/my_profile/profile_editor_controller.rb
@@ -100,7 +100,7 @@ class ProfileEditorController < MyProfileController | @@ -100,7 +100,7 @@ class ProfileEditorController < MyProfileController | ||
100 | private | 100 | private |
101 | 101 | ||
102 | def has_welcome_page | 102 | def has_welcome_page |
103 | - profile.person? && profile.is_template | 103 | + profile.is_template |
104 | end | 104 | end |
105 | 105 | ||
106 | def access_welcome_page | 106 | def access_welcome_page |