I'm trying to get the current route action, but I'm not sure how to go about it. In Laravel 4 I was using Route::currentRouteAction() but now it's a bit different.
I'm trying to do Route::getActionName() in my controller but it keeps giving me method not found.
<?php namespace App\Http\Controllers;
class HomeController extends Controller
public function getIndex()