Ask A Question

Notifications

You’re not receiving notifications from this thread.

how i can manage links , create new links , modify exiting links ?

adnenfarhani asked in Rails

hey guys , when i generate a scaffold the default link of edit it's link like this edit_participation_path(participation) , in my case i need to change the edit to changer_participation_path(participation) , my question is how i can manage links , create new links , modify exiting links ? thank you

Reply

Rails calls them "routes", not links. That's what you'll want to search for and read up on. 👍

https://guides.rubyonrails.org/routing.html

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.