mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
PERF: avoid preloading json in cases where it is not needed
(uploads / avatars / non GET requests)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
class ExportCsvController < ApplicationController
|
||||
|
||||
skip_before_filter :check_xhr, only: [:show]
|
||||
skip_before_filter :preload_json, :check_xhr, only: [:show]
|
||||
|
||||
def export_entity
|
||||
params.require(:entity)
|
||||
|
Reference in New Issue
Block a user