質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,14 +14,6 @@
|
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
|
17
|
-
resources :articles, only: [:show, :edit, :update], controller: 'articles/all_user' do
|
18
|
-
|
19
|
-
resources :images
|
20
|
-
|
21
|
-
end
|
22
|
-
|
23
|
-
|
24
|
-
|
25
17
|
resources :articles, only: [:new, :create, :destroy], controller: 'articles/administrator' do
|
26
18
|
|
27
19
|
collection do
|
@@ -35,6 +27,14 @@
|
|
35
27
|
|
36
28
|
|
37
29
|
resources :articles, only: :index, controller: 'articles/writer'
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
resources :articles, only: [:show, :edit, :update], controller: 'articles/all_user' do
|
34
|
+
|
35
|
+
resources :images
|
36
|
+
|
37
|
+
end
|
38
38
|
|
39
39
|
```
|
40
40
|
|