How to make a discourse plugin available for public posts?

226 views Asked by At

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?

1

There are 1 answers

0
VAIRIX On BEST ANSWER

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: :