質問編集履歴
2
本リア→本来
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
本
|
17
|
+
本来であれば「/favarites/id」と?でなく/にしたいです。
|
18
18
|
|
19
19
|
|
20
20
|
|
1
ソースの記載が間違えていた
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
```php
|
2
2
|
|
3
|
-
|
3
|
+
{!! Form::open(['route' => ['favarites.store', $micropost->id], 'method' => 'post']) !!}
|
4
4
|
|
5
|
-
{!! Form::submit('
|
5
|
+
{!! Form::submit('favorite', ['class' => 'btn btn-default btn-xs']) !!}
|
6
6
|
|
7
7
|
{!! Form::close() !!}
|
8
8
|
|