1
0
Fork 0

Use requires_login instead of ensure_logged_in

Dieser Commit ist enthalten in:
Angus McLeod 2018-02-09 16:39:47 +08:00
Ursprung 23c2c120c2
Commit 7b53f23541

Datei anzeigen

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