mirror of
https://github.com/discourse/discourse.git
synced 2025-03-16 13:35:41 +08:00

Sometimes we add scripts outside of Rails. This commit provides a way to generate a nonce placeholder even if you don't have access to an ApplicationController instance.