Removed Routes dependency, added admin routes

This commit is contained in:
Joar Wandborg
2012-10-20 12:09:23 +02:00
parent 54397b9063
commit 5b60ec41ee
6 changed files with 13 additions and 15 deletions

View File

@@ -14,8 +14,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from routes.route import Route
admin_routes = [
Route('mediagoblin.admin.panel', '/panel',
controller='mediagoblin.admin.views:admin_processing_panel')]
('mediagoblin.admin.panel',
'/panel',
'mediagoblin.admin.views:admin_processing_panel')]