mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Avoid using to_s when performing String Interpolation
This commit is contained in:
@@ -13,7 +13,7 @@ class ForumsController < ApplicationController
|
||||
end
|
||||
|
||||
def error
|
||||
raise "WAT - #{Time.now.to_s}"
|
||||
raise "WAT - #{Time.now}"
|
||||
end
|
||||
|
||||
def home_redirect
|
||||
|
||||
Reference in New Issue
Block a user