Commit d037718d259d8ec5e01d6ce3fe322b7d8d359cc0

Authored by Rodrigo Souto
1 parent 5c70980c

[template-welcome-page] Allow any profile template to have a welcome page

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