質問編集履歴

3

追加

2017/04/04 00:24

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -69,3 +69,27 @@
69
69
  これは何故でしょうか??
70
70
 
71
71
  宜しくお願い致します。
72
+
73
+
74
+
75
+
76
+
77
+ hogeコントローラを追記致します
78
+
79
+
80
+
81
+ ```ruby
82
+
83
+ class HogeController < ApplicationController
84
+
85
+ def piyo
86
+
87
+
88
+
89
+ end
90
+
91
+ end
92
+
93
+
94
+
95
+ ```

2

追加。

2017/04/04 00:24

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
@@ -44,7 +44,7 @@
44
44
 
45
45
  get 'hoge/piyo'
46
46
 
47
-
47
+ resources :A
48
48
 
49
49
  ```
50
50
 
@@ -62,6 +62,8 @@
62
62
 
63
63
 
64
64
 
65
+ ちなみにAコントローラのshowアクションを消しても同じ動作をします。
66
+
65
67
 
66
68
 
67
69
  これは何故でしょうか??

1

追加

2017/04/03 10:34

投稿

pecchan
pecchan

スコア555

test CHANGED
File without changes
test CHANGED
File without changes