mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@@ -33,12 +33,8 @@ class PermalinksController < ApplicationController
|
||||
|
||||
render json: MultiJson.dump(data)
|
||||
rescue Discourse::NotFound
|
||||
data = {
|
||||
found: false,
|
||||
html: build_not_found_page(status: 200),
|
||||
}
|
||||
data = { found: false, html: build_not_found_page(status: 200) }
|
||||
render json: MultiJson.dump(data)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user