From 0302abee7ccb51fb20808971f2ae0aea09a2a648 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 4 Feb 2015 09:33:24 -0800 Subject: [PATCH] portfolio -> projects, link on navbar --- controllers/projects.moon | 9 +-------- layout/bootstrap.moon | 2 ++ views/{portfolio.moon => projects.moon} | 0 3 files changed, 3 insertions(+), 8 deletions(-) rename views/{portfolio.moon => projects.moon} (100%) diff --git a/controllers/projects.moon b/controllers/projects.moon index 7d80b17..719cb34 100644 --- a/controllers/projects.moon +++ b/controllers/projects.moon @@ -1,12 +1,5 @@ lapis = require "lapis" -http = require "lapis.nginx.http" -json = require "dkjson" - -import respond_to from require "lapis.application" -import assert_valid from require "lapis.validate" class Projects extends lapis.Application - [portfolio: "/portfolio"]: => - + [projects: "/projects"]: => render: true - diff --git a/layout/bootstrap.moon b/layout/bootstrap.moon index 759903c..b7bc2cb 100644 --- a/layout/bootstrap.moon +++ b/layout/bootstrap.moon @@ -44,6 +44,8 @@ class Layout extends Widget div id: "navbar", class: "collapse navbar-collapse", -> ul class: "nav navbar-nav", -> + li -> + a href: "/projects", "Projects" li -> a href: "/resume", "Resume" diff --git a/views/portfolio.moon b/views/projects.moon similarity index 100% rename from views/portfolio.moon rename to views/projects.moon