mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 06:37:53 +08:00
Use consistent new-style hashes in render calls *twitch*
This commit is contained in:
@ -6,9 +6,9 @@ class ForumsController < ApplicationController
|
||||
|
||||
def status
|
||||
if $shutdown
|
||||
render :text => 'shutting down', :status => 500
|
||||
render text: 'shutting down', :status => 500
|
||||
else
|
||||
render :text => 'ok'
|
||||
render text: 'ok'
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user