function resources($resourceName, $options = [])
    {
        $controller = @$options['controller'] ?: $resourceName;

        $this->get("/$resourceName", "$controller#index")
             ->bind("{$resourceName}_index");

        $this->get("/$resourceName/new", "$controller#new")
             ->bind("{$resourceName}_new");

        $this->get("/$resourceName/{id}", "$controller#show")
             ->bind("{$resourceName}_show");

        $this->get("/$resourceName/{id}/edit", "$controller#edit")
             ->bind("{$resourceName}_edit");

        $this->post("/$resourceName", "$controller#create")
             ->bind("{$resourceName}_create");

        $this->put("/$resourceName/{id}", "$controller#update")
             ->bind("{$resourceName}_update");

        $this->delete("/$resourceName/{id}", "$controller#destroy")
             ->bind("{$resourceName}_destroy");

        return $this;
    }