FIX: Allow us to call script_asset_url in controllers

Without this patch fingerprinting was not applied in production.
This commit is contained in:
Robin Ward
2020-09-04 15:23:01 -04:00
parent 0f9a58e06f
commit da918ac43e
2 changed files with 1 additions and 2 deletions

View File

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