title: How do named paths work in Ruby on Rails?
body: <p><img src="https://i.snag.gy/V8JiB3.jpg" alt="1">
  <img src="https://i.snag.gy/SNfjAe.jpg" alt="2"></p>
  
  <p>The highlighted code in the above picture creates the named routes in the below. However, I don't understand how this setup is helpful, because if the "login_path" which is a named path variable is automatically (hidden to the user) created by "get /login" in the routes.rb file, then how do we change "login_path" to point to something else like "get /login_new_url"? I thought the whole point of the named path variables was easy posterior editing of URLs.</p>