In this lesson I will walk you through how to create a controller in your rails application that will serve html documents to the web browser depending on a url path sent by the end user.
By the end of the lesson you will have used a rails generator to create a controller, you will have a home, about and contact pages for your app and you will also clean up corresponding url paths in config/routes.rb to make the user experience more enjoyable when navigating to different pages in your app.
Смотрите видео Lesson 5 - Views Controllers & Routes онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SwiftRuby 20 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,561 раз и оно понравилось 67 людям.