I've developed a discourse plugin successfully. However, I need to be logged in into discourse in order to see the plugin working.
Any ideas?
I've developed a discourse plugin successfully. However, I need to be logged in into discourse in order to see the plugin working.
Any ideas?
Copyright © 2021 Jogjafile Inc.
Disclosure: user @dariomac, the question owner, is part of our organization.
You have to skip the ensure_logged_in in the before_filter of the controller. Add something like this line to your plugin controller:
skip_before_filter :ensure_logged_in, only: :