Skip to content

Commit

Permalink
Merge pull request #1237 from samsonasik/docfix-url-helper-load
Browse files Browse the repository at this point in the history
doc fix: remove unneeded call helper(url) as already bootstrapped by default
  • Loading branch information
lonnieezell committed Sep 24, 2018
2 parents 1a97ded + bfa0e74 commit f44b819
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion user_guide_src/source/libraries/uri.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ a controller that extends ``CodeIgniter\Controller`` you can get it like::

Second, you can use one of the functions available in the **url_helper**::

helper('url');
$uri = current_url(true);

You must pass ``true`` as the first parameter, otherwise it will return the string representation of the current URL.
Expand Down

0 comments on commit f44b819

Please sign in to comment.