Skip to content

Commit dfcfdf0

Browse files
committed
add alias to route
1 parent 334e23d commit dfcfdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

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

77
Discourse::Application.routes.append do

0 commit comments

Comments
 (0)