mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -12,7 +12,7 @@ class StepsController < ApplicationController
|
||||
updater.update
|
||||
|
||||
if updater.success?
|
||||
result = { success: 'OK' }
|
||||
result = { success: "OK" }
|
||||
result[:refresh_required] = true if updater.refresh_required?
|
||||
render json: result
|
||||
else
|
||||
@ -23,5 +23,4 @@ class StepsController < ApplicationController
|
||||
render json: { errors: errors }, status: 422
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user