Permalink
Browse files

About page.

  • Loading branch information...
marano committed May 2, 2013
1 parent e963c94 commit 6493689cbec3d17a14dfd37f34efbf513233d957
Showing with 6 additions and 0 deletions.
  1. +4 −0 controller.rb
  2. +2 −0 views/about.slim
View
@@ -35,6 +35,10 @@ def blog
slim :home
end
+ get '/about' do
+ slim :about
+ end
+
get '/article/:id' do
@article = blog.find_article_by_id(params[:id])
slim :article
View
@@ -0,0 +1,2 @@
+h1
+ | About

0 comments on commit 6493689

Please sign in to comment.