src/Dispatcher.php
protected function findRestfulRoutable(Resolver $resolver)
    {
        $parameters = $resolver->getParameters();
        $verb       = $resolver->getVerb();

        $action = (count($parameters) > 0 ? array_shift($parameters) : 'index');
        $action = Str::camel("{$verb}_{$action}");

        return [$action, $parameters];
    }
protected function findRestfulRoutable(Resolver $resolver)
    {
        $parameters = $resolver->getParameters();
        $verb       = $resolver->getVerb();

        $action = (count($parameters) > 0 ? array_shift($parameters) : 'index');
        $action = Str::camel("{$verb}_{$action}");

        return [$action, $parameters];
    }
Resolve action from restful controller.

@param  \Orchestra\Resources\Resolver  $resolver

@return array