mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 01:22:08 +02:00

* common/r*: add Korean translation * Update rtv.md * Update pages.ko/common/rtv.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
20 lines
520 B
Markdown
20 lines
520 B
Markdown
# rails routes
|
|
|
|
> Rails 애플리케이션에서 경로를 나열.
|
|
> 더 많은 정보: <https://guides.rubyonrails.org/routing.html>.
|
|
|
|
- 모든 경로 나열:
|
|
|
|
`rails routes`
|
|
|
|
- 확장된 형식으로 모든 경로 나열:
|
|
|
|
`rails routes --expanded`
|
|
|
|
- URL 헬퍼 메서드 이름, HTTP 메서드 또는 URL 경로와 부분적으로 일치하는 경로 나열:
|
|
|
|
`rails routes -g {{posts_path|GET|/posts}}`
|
|
|
|
- 지정된 컨트롤러에 매핑된 경로 나열:
|
|
|
|
`rails routes -c {{posts|Posts|Blogs::PostsController}}`
|