O People! How can this possible: http: // localhost: 3000 / questiond_id = 5 & token = 734893789568495 (They will have only one question and token (unique) and all of them)
? In Routers.rb? Or where?
Thank you very much!
You can reach the rail as you like:
http : // localhost: 3000 / questions / 5? Token = 734893789568495 In Routes. Rb file
resources: question You can restrict it with only one option if you do not want to take another action.
For this, you can use the show action of the controller and your path will be like this
question_path (: id = & gt; 5,: token = & Gt; '734893789568495 ')
Comments
Post a Comment