Permalink
Browse files

Adiciona página estática de sobre

  • Loading branch information...
1 parent 7c3fe61 commit 9fa45e48908a6d6fffe1ceb59da481faa0af3308 @elomar committed Mar 3, 2012
Showing with 6 additions and 1 deletion.
  1. +3 −0 app/controllers/paginas_controller.rb
  2. +2 −0 app/views/paginas/sobre.html.erb
  3. +1 −1 config/routes.rb
@@ -4,4 +4,7 @@ def index
def ajuda
end
+
+ def sobre
+ end
end
@@ -0,0 +1,2 @@
+<h1>Sobre</h1>
+<p>O Curso de Rails da IT é um curso sobre Rails na IT.</p>
View
@@ -1,7 +1,7 @@
Microblog::Application.routes.draw do
get "paginas/index"
-
get "paginas/ajuda"
+ get "paginas/sobre"
# The priority is based upon order of creation:
# first created -> highest priority.

0 comments on commit 9fa45e4

Please sign in to comment.