mirror of
https://github.com/discourse/discourse.git
synced 2025-03-17 19:30:20 +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.