---
title: "Discussion on \"Rails \"resources\" and RESTful routes\" | Hashnode"
description: "Discussion on \"Rails \"resources\" and RESTful routes\". Using resources :controller_name automatically adds a full suite of RESTful routes.\nFor more limited scope controllers (like a login controller), you can use rails generate controller ControllerName new and it adds views as well."
url: "https://hashnode.com/posts/rails-resources-and-restful-routes/61b4103a3e16b66b1b1e5b50"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rails "resources" and RESTful routes](https://sjgorsky.hashnode.dev/rails-resources-and-restful-routes?utm_source=hashnode&utm_medium=feed)

Using resources :controller\_name automatically adds a full suite of RESTful routes. For more limited scope controllers (like a login controller), you can use rails generate controller ControllerName new and it adds views as well.

Dec 11, 2021 · 1 min read · sjgorsky.hashnode.dev  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)

## Written by

[Scott Gorsky](https://hashnode.com/@sjgorsky)

@sjgorsky · Chicago, IL

  
[View profile](https://hashnode.com/@sjgorsky)

Git just got real.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
