Skip to content

Commit

Permalink
Fix old reference to BASEDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jan 20, 2010
1 parent 0b4d33d commit d931221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/tutorial/todolist.html
Expand Up @@ -616,7 +616,7 @@ <h2 id="_first_step_create">First Step, Create</h2>
<span style="font-style: italic"><span style="color: #9A1900"># =&gt; true</span></span>
<span style="font-weight: bold"><span style="color: #000080">require</span></span> <span style="color: #FF0000">'ramaze'</span>
<span style="font-style: italic"><span style="color: #9A1900"># =&gt; true</span></span>
File<span style="color: #990000">.</span>expand_path<span style="color: #990000">(</span>Ramaze<span style="color: #990000">::</span>BASEDIR <span style="color: #990000">+</span> <span style="color: #FF0000">'/../examples/app/todolist'</span><span style="color: #990000">)</span>
File<span style="color: #990000">.</span>expand_path<span style="color: #990000">(</span>Ramaze<span style="color: #990000">::</span>ROOT <span style="color: #990000">+</span> <span style="color: #FF0000">'/../examples/app/todolist'</span><span style="color: #990000">)</span>
<span style="font-style: italic"><span style="color: #9A1900"># =&gt; "/home/manveru/c/ramaze/examples/app/todolist"</span></span></tt></pre></div></div>
<div class="paragraph"><p>To start things off, we will create a basic directory structure looking like this:</p></div>
<div class="listingblock">
Expand Down Expand Up @@ -1505,7 +1505,7 @@ <h2 id="glossary">Glossary</h2>
<div id="footer">
<div id="footer-text">
Version 2.0<br />
Last updated 2009-12-22 04:13:32 JST
Last updated 2010-01-20 20:51:42 JST
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial/todolist.txt
Expand Up @@ -65,7 +65,7 @@ require 'rubygems'
# => true
require 'ramaze'
# => true
File.expand_path(Ramaze::BASEDIR + '/../examples/app/todolist')
File.expand_path(Ramaze::ROOT + '/../examples/app/todolist')
# => "/home/manveru/c/ramaze/examples/app/todolist"
--------------------------------------------------------------------------------

Expand Down

0 comments on commit d931221

Please sign in to comment.