Skip to content

Commit c465e4c

Browse files
remove unused route 'as' that causes trouble
1 parent 82f391b commit c465e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/usage/extend/custom_component_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def my_action
2323
end
2424

2525
Rails.application.routes.append do
26-
get '/custom_component_test', to: 'component_test#my_action', as: 'component_test_action'
26+
get '/custom_component_test', to: 'component_test#my_action'
2727
end
2828
Rails.application.reload_routes!
2929

0 commit comments

Comments
 (0)