src/Label305/AujaLaravel/Auja.php
public function noAssociationsMenuFor($model, ModelConfig $config = null) {
        $modelName = $this->resolveModelName($model);

        $menuFactory = $this->app->make('Label305\AujaLaravel\Factory\NoAssociationsIndexMenuFactory');
        /* @var $menuFactory NoAssociationsIndexMenuFactory */
        return $menuFactory->create($modelName, $config);
    }
public function noAssociationsMenuFor($model, ModelConfig $config = null) {
        $modelName = $this->resolveModelName($model);

        $menuFactory = $this->app->make('Label305\AujaLaravel\Factory\NoAssociationsIndexMenuFactory');
        /* @var $menuFactory NoAssociationsIndexMenuFactory */
        return $menuFactory->create($modelName, $config);
    }
Creates a simple menu for given model, where typically this model should not have any relations to other models.

The menu will include:
- An Add LinkMenuItem;
- A SpacerMenuItem with the model's name;
- A ResourceMenuItem to hold entries of the model.

@param Controller|Eloquent|String $model  An object which represents the model to build items for.
@param ModelConfig                $config (optional) The `ModelConfig` to use.

@return Menu The `Menu`, which can be configured further.