0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

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'))
layout 'wizard'
before_action :ensure_logged_in
requires_login
helper_method :wizard_page_title
helper_method :theme_key