I have set up pagination and it's working correctly. But i am not able to redirect to the current page.

E.g: If i invoke update method on `currencies?page=2`. I will redirect to the `currencies` instead of `currencies?page=2`.

`Controller - index function`

```
public function index()
{
    $currencies = Currency::paginate(5);
    return view('admin.currencies.index')
            ->withCurrencies($currencies);
}

```

`Controller - Edit function`

```
public function edit($id)
{
    $currency = Currency::findOrFail($id);
    return view('admin.currencies.edit')
            ->withCurrency($currency);
}

```

`Controller - Update function`

```
public function update(Request $request, $id)
{
    $currency = Currency::findOrFail($id);
    $currency->name     =   $request->name;
    $currency->rate     =   $request->rate;
    $currency->save();

    return redirect()->route('currencies.index')->with('message', 'Done');
}

```

`Views`

`{{ $currencies->links() }}`