'admin.currency_rates.index', 'uses' => 'CurrencyRateController@index', 'middleware' => 'can:admin.currency_rates.index', ]); Route::get('currency-rates/{id}/edit', [ 'as' => 'admin.currency_rates.edit', 'uses' => 'CurrencyRateController@edit', 'middleware' => 'can:admin.currency_rates.edit', ]); Route::put('currency-rates/{id}', [ 'as' => 'admin.currency_rates.update', 'uses' => 'CurrencyRateController@update', 'middleware' => 'can:admin.currency_rates.edit', ]); Route::get('currency-rates/index/table', [ 'as' => 'admin.currency_rates.table', 'uses' => 'CurrencyRateController@table', 'middleware' => 'can:admin.currency_rates.index', ]); Route::get('currency-rates/refresh', [ 'as' => 'admin.currency_rates.refresh', 'uses' => 'CurrencyRateController@refresh', 'middleware' => 'can:admin.currency_rates.edit', ]);