mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
FIX: can't bootstrap with ember-cli when login_required is enabled (#13350)
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
class BootstrapController < ApplicationController
|
||||
include ApplicationHelper
|
||||
|
||||
skip_before_action :redirect_to_login_if_required
|
||||
|
||||
# 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
|
||||
def index
|
||||
|
Reference in New Issue
Block a user