Answer the question
In order to leave comments, you need to log in
What routes are needed to work with the data entry form in RoR applications?
What routes are needed to work with the data entry form in RoR applications?
Answer the question
In order to leave comments, you need to log in
The question is not very clear. What is the task? For a normal form, the minimum is to specify a controller action and a call method (for example, POST). If it is CRUD, then you do not need to specify anything separately.
config/routes.rb
Awesomeapp::Application.routes.draw do
resources :modelname
end
It looks like a question from some kind of test :) e
But why do you need an answer if you don’t want to figure it out yourself? As they say: "If you don't like women, don't torture your organ."
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question