質問編集履歴
1
routing
test
CHANGED
File without changes
|
test
CHANGED
@@ -173,3 +173,15 @@
|
|
173
173
|
|
174
174
|
|
175
175
|
```
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
routing
|
180
|
+
|
181
|
+
```ruby
|
182
|
+
|
183
|
+
get '/parent_categories', to: 'parent_categories#index', as: 'parent_categories'
|
184
|
+
|
185
|
+
get '/categories/:id', to: 'categories#index', as: 'categories'
|
186
|
+
|
187
|
+
```
|