mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove trailing whitespaces ❤️
This commit is contained in:
@@ -3,7 +3,7 @@ class FixLinkPostId < ActiveRecord::Migration
|
||||
to_remove = []
|
||||
|
||||
TopicLink.where('internal = TRUE AND link_post_id IS NULL').each do |tl|
|
||||
|
||||
|
||||
begin
|
||||
parsed = URI.parse(tl.url)
|
||||
route = Rails.application.routes.recognize_path(parsed.path)
|
||||
|
||||
Reference in New Issue
Block a user