Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Tutorial 1 documentation - code block modification #243

Closed
w5m opened this issue Nov 22, 2013 · 1 comment
Closed

Tutorial 1 documentation - code block modification #243

w5m opened this issue Nov 22, 2013 · 1 comment

Comments

@w5m
Copy link
Contributor

w5m commented Nov 22, 2013

I ran into the issue described in #90 (Phalcon\Tag::linkTo - subfolder missing from URL) and eventually found the code snippet to resolve it.

$di->set('url', function(){
     $url = new \Phalcon\Mvc\Url();
     $url->setBaseUri('/tutorial/');
     return $url;
});

Please can the above code be added to the code block in the Tutorial 1 documentation so that it matches the suggested file/folder structure. That way newcomers won't be stumbling at the first hurdle.

Many thanks.

@w5m
Copy link
Contributor Author

w5m commented Nov 22, 2013

I noticed that I could edit the documentation myself using Github, so I've added the above code block and a brief explanation.

@w5m w5m closed this as completed Nov 22, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant