Skip to content
代码片段 群组 项目
提交 eeef2847 编辑于 作者: Marcel Amirault's avatar Marcel Amirault
浏览文件

Merge branch 'update-dev-doc-rake-tasks' into 'master'

Update rake to rails in developer documentation with rails6.1 upgrade

See merge request gitlab-org/gitlab!63732
No related branches found
No related tags found
无相关合并请求
......@@ -36,11 +36,11 @@ Find here the [source code setting the attribute](https://gitlab.com/gitlab-org/
#### Rails routes
The `rake routes` command can be used to list all the routes available in the application. Piping the output into `grep`, we can perform a search through the list of available routes.
The `rails routes` command can be used to list all the routes available in the application. Piping the output into `grep`, we can perform a search through the list of available routes.
The output includes the request types available, route parameters and the relevant controller.
```shell
bundle exec rake routes | grep "issues"
bundle exec rails routes | grep "issues"
```
### 2. `modal_copy_button` vs `clipboard_button`
......
......@@ -263,7 +263,7 @@ RESTful API verbs.
For the Rails controllers, run:
```shell
bundle exec rake routes
bundle exec rails routes
```
Since these take some time to create, it's often helpful to save the output to
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册