Commits

Marcin Kuzminski committed 3e5a359

removed file controller

Comments (0)

Files changed (2)

pylons_app/controllers/file.py

-import logging
-
-from pylons import request, response, session, tmpl_context as c, url
-from pylons.controllers.util import abort, redirect
-
-from pylons_app.lib.base import BaseController, render
-
-log = logging.getLogger(__name__)
-
-class FileController(BaseController):
-
-    def index(self):
-        # Return a rendered template
-        #return render('/file.mako')
-        # or, return a string
-        return 'Hello World'

pylons_app/tests/functional/test_file.py

-from pylons_app.tests import *
-
-class TestFileController(TestController):
-
-    def test_index(self):
-        response = self.app.get(url(controller='file', action='index'))
-        # Test response...