Browse Source

Use requires_login instead of ensure_logged_in

Angus McLeod 7 years ago
parent
commit
7b53f23541
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/wizard.rb

+ 1 - 1
controllers/wizard.rb

@@ -2,7 +2,7 @@ class CustomWizard::WizardController < ::ApplicationController
   prepend_view_path(Rails.root.join('plugins', 'discourse-custom-wizard', 'views'))
   layout 'wizard'
 
-  before_action :ensure_logged_in
+  requires_login
   helper_method :wizard_page_title
   helper_method :theme_key