Skip to content
Snippets Groups Projects
Commit 7556d97f authored by Can's avatar Can
Browse files

7.x route changes

parent 1238a6af
Branches 1.0
Tags 2.0.0
No related merge requests found
Pipeline #172713983 failed
......@@ -19,9 +19,9 @@
<li @if($currency->isActive) style="color:green;" @else style="color:red;" @endif>
@if($currentCurrencyId == $currency->id) + @endif
<a href="{{route("currency.change",["id"=>$currency->id])}}">{{$currency->title}}</a>
<a href="{{route("currency.edit",["id"=>$currency->id])}}">[EDIT]</a>
<form action="{{route("currency.destroy",["id"=>$currency->id])}}" method="POST">
<a href="{{route("currency.change",$currency->id)}}">{{$currency->title}}</a>
<a href="{{route("currency.edit",$currency->id)}}">[EDIT]</a>
<form action="{{route("currency.destroy",$currency->id)}}" method="POST">
{{method_field("DELETE")}}
{{csrf_field()}}
......@@ -30,4 +30,4 @@
</li>
@endforeach
</ul>
\ No newline at end of file
</ul>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment