Skip to content

Commit 242620c

Browse files
committed
update routes to redraw instead of append
1 parent dfcfdf0 commit 242620c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# frozen_string_literal: true
22

33
CommunityCustomFields::Engine.routes.draw do
4-
put '/:topic_id' => 'custom_fields#update', as: 'custom_field'
4+
put '/:topic_id' => 'custom_fields#update'
55
end
66

7-
Discourse::Application.routes.append do
7+
Discourse::Application.routes.draw do
88
mount ::CommunityCustomFields::Engine, at: '/admin/plugins/community-custom-fields'
99
end

0 commit comments

Comments
 (0)