Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[svn] fixed paths for the minimal_template, one of which broke
minimal_template apps' tests

--HG--
branch : trunk
  • Loading branch information
pjenvey committed Mar 26, 2007
1 parent 0dae8e7 commit 734d9bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -31,7 +31,7 @@

<p>The <tt>${package}/public/</tt> directory is searched for static files
<i>before</i> your controllers are run. Remove this file (<tt>${package}/public/index.html</tt>)
and edit the routes in <tt>${package}/config/routing.py</tt> to point the
and edit the routes in <tt>${package}/routing.py</tt> to point the
<a href="/">root path</a> to a 'hello' controller we'll create below:
<pre> map.connect('', controller='hello', action='index')</pre>
</p>
Expand All @@ -45,7 +45,7 @@ ${project}$$ paster controller hello

This generates the following the following code in <tt>${package}/controllers/hello.py</tt>:
<pre>
from ${package}.lib.base import *
from ${package}.controllers import *

class HelloController(BaseController):
def index(self):
Expand Down
Expand Up @@ -19,7 +19,7 @@ import paste.deploy
import paste.fixture
import paste.script.appinstall

from ${package}.config.routing import *
from ${package}.routing import *
from routes import request_config, url_for

test_file = os.path.join(conf_dir, 'test.ini')
Expand Down

0 comments on commit 734d9bc

Please sign in to comment.