0 votes
in Ruby by

Which choice is not a valid Rails route?

a. route "products/index", to: "products/index", via: :get

b. match "products/index", to: "products#index", via: :get

c. root "products/index"

d. get "products/index"

1 Answer

0 votes
by

Which choice is not a valid Rails route?

Correct answer is :-  route "products/index", to: "products/index", via: :get

Related questions

0 votes
asked Sep 3, 2022 in Ruby by DavidAnderson
0 votes
asked Sep 3, 2022 in Ruby by DavidAnderson
...