Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

devise update button on edit page

i was wondering if anyone knew how to change the _path for the "update" f.submit button on the "registrations#edit" page. it currently goes to the index page, but i'd like it to go to my profile_path page. thanks!

1 Answer

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Check out the devise documentation at http://rubydoc.info/github/plataformatec/devise/master/frames. Search for the documentation on configuring routes and after_* paths.