mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05: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