質問編集履歴
3
ルーティングを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,6 +72,58 @@
|
|
72
72
|
|
73
73
|
```
|
74
74
|
|
75
|
+
routes.rb
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
Rails.application.routes.draw do
|
80
|
+
|
81
|
+
get '/' => 'home#top'
|
82
|
+
|
83
|
+
get 'sinki' => 'home#new'
|
84
|
+
|
85
|
+
post 'kanryou' => 'home#create'
|
86
|
+
|
87
|
+
get 'login' => 'home#login'
|
88
|
+
|
89
|
+
get 'you' => 'home#you'
|
90
|
+
|
91
|
+
post 'seikou' => 'home#seikou'
|
92
|
+
|
93
|
+
get 'post' => 'post#top'
|
94
|
+
|
95
|
+
post 'arigatou' => 'post#arigatou'
|
96
|
+
|
97
|
+
get 'index' => 'video#index'
|
98
|
+
|
99
|
+
get 'ionamata' => 'video#toukou'
|
100
|
+
|
101
|
+
post 'yosi!' => 'video#create'
|
102
|
+
|
103
|
+
get '/:id' => 'video#show'
|
104
|
+
|
105
|
+
resources :show do
|
106
|
+
|
107
|
+
resource :hosi
|
108
|
+
|
109
|
+
end
|
110
|
+
|
111
|
+
resources :show do
|
112
|
+
|
113
|
+
member do
|
114
|
+
|
115
|
+
resources :komento
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
get 'kumentu' => 'video#kumentu'
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
```
|
126
|
+
|
75
127
|
|
76
128
|
|
77
129
|
### 試したこと
|
2
テキストエディタ情報の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -111,3 +111,5 @@
|
|
111
111
|
ruby 2.6.6
|
112
112
|
|
113
113
|
PostgreSQL 12.2
|
114
|
+
|
115
|
+
テキストエディタ Atom
|
1
試したことの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,6 +74,34 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
+
### 試したこと
|
78
|
+
|
79
|
+
下のやり方全てでrenderされませんでした。
|
80
|
+
|
81
|
+
```
|
82
|
+
|
83
|
+
render :new
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
```
|
88
|
+
|
89
|
+
render action: :new
|
90
|
+
|
91
|
+
```
|
92
|
+
|
93
|
+
```
|
94
|
+
|
95
|
+
render("new")
|
96
|
+
|
97
|
+
```
|
98
|
+
|
99
|
+
```
|
100
|
+
|
101
|
+
render("/sinki")
|
102
|
+
|
103
|
+
```
|
104
|
+
|
77
105
|
### 補足情報
|
78
106
|
|
79
107
|
Windows 10 home
|