Commit 06accd14dd6c45d053247358e37f540328d84234
1 parent
bd9bbf38
Exists in
master
and in
27 other branches
[template-welcome-page] Fix use of no_design_blocks on welcome action
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public/home_controller.rb
... | ... | @@ -19,7 +19,7 @@ class HomeController < PublicController |
19 | 19 | end |
20 | 20 | |
21 | 21 | def welcome |
22 | - self.class.no_design_blocks | |
22 | + @no_design_blocks = true | |
23 | 23 | @display_confirmation_tips = !user.present? && !environment.enabled?(:skip_new_user_email_confirmation) |
24 | 24 | @person_template = user && user.template || params[:template_id] && Person.find(params[:template_id]) |
25 | 25 | @template_welcome_page = @person_template && @person_template.welcome_page && @person_template.welcome_page.published ? @person_template.welcome_page.body : nil | ... | ... |