質問編集履歴
2
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
```
|
30
30
|
|
31
|
-
一応del
|
31
|
+
一応deleteするコントローラーです
|
32
32
|
|
33
33
|
```
|
34
34
|
|
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -270,6 +270,62 @@
|
|
270
270
|
|
271
271
|
```
|
272
272
|
|
273
|
+
view/layouts/application.html.erb
|
274
|
+
|
275
|
+
```
|
276
|
+
|
277
|
+
<head>
|
278
|
+
|
279
|
+
<title></title>
|
280
|
+
|
281
|
+
<%= stylesheet_link_tag "application" %>
|
282
|
+
|
283
|
+
<%= javascript_include_tag "application" %>
|
284
|
+
|
285
|
+
<%= csrf_meta_tag %>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
<!-- jQuery -->
|
290
|
+
|
291
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
292
|
+
|
293
|
+
<!-- jQuery UI -->
|
294
|
+
|
295
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
296
|
+
|
297
|
+
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
|
298
|
+
|
299
|
+
</head>
|
300
|
+
|
301
|
+
```
|
302
|
+
|
303
|
+
application.jsの末尾
|
304
|
+
|
305
|
+
```
|
306
|
+
|
307
|
+
//
|
308
|
+
|
309
|
+
//= require jquery
|
310
|
+
|
311
|
+
//= require jquery-ui
|
312
|
+
|
313
|
+
//= require rails-ujs
|
314
|
+
|
315
|
+
//= require turbolinks
|
316
|
+
|
317
|
+
//= require_tree .
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
```
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
273
329
|
|
274
330
|
|
275
331
|
|