summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-03-12 15:34:30 +0100
committerAndrey Andreev <narf@devilix.net>2016-03-12 15:34:56 +0100
commitb5a5d76d0733780c846963592ff813f867beaf97 (patch)
tree53e46de4911996a489d0411ef97163ba2cb7ee11
parent55a40b769b5e3350d07b63264b332fce5e1341d2 (diff)
Merge pull request #4532 from Tpojka/develop
[ci skip] Remove an unnecessary slash from a documentation example
-rw-r--r--user_guide_src/source/tutorial/static_pages.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst
index 569287c98..5daaa958f 100644
--- a/user_guide_src/source/tutorial/static_pages.rst
+++ b/user_guide_src/source/tutorial/static_pages.rst
@@ -97,7 +97,7 @@ page actually exists:
public function view($page = 'home')
{
- if ( ! file_exists(APPPATH.'/views/pages/'.$page.'.php'))
+ if ( ! file_exists(APPPATH.'views/pages/'.$page.'.php'))
{
// Whoops, we don't have a page for that!
show_404();