mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
FIX: Allow us to call script_asset_url
in controllers
Without this patch fingerprinting was not applied in production.
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
|
||||
class BootstrapController < ApplicationController
|
||||
include ApplicationHelper
|
||||
include ActionView::Helpers::AssetUrlHelper
|
||||
|
||||
# This endpoint allows us to produce the data required to start up Discourse via JSON API,
|
||||
# so that you don't have to scrape the HTML for `data-*` payloads
|
||||
|
Reference in New Issue
Block a user