Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adicionada a rota para root

  • Loading branch information...
commit d4db021907f2026e2fd0efcf7405e264d35ef049 1 parent 11d3007
Rafael Mendonça França authored May 09, 2010

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  config/routes.rb
4  config/routes.rb
... ...
@@ -1,4 +1,6 @@
1 1
 Secomp::Application.routes.draw do |map|
  2
+  get "articles/index"
  3
+
2 4
   # The priority is based upon order of creation:
3 5
   # first created -> highest priority.
4 6
 
@@ -48,7 +50,7 @@
48 50
 
49 51
   # You can have the root of your site routed with "root"
50 52
   # just remember to delete public/index.html.
51  
-  # root :to => "welcome#index"
  53
+  root :to => "articles#index"
52 54
 
53 55
   # See how all your routes lay out with "rake routes"
54 56
 

0 notes on commit d4db021

Please sign in to comment.
Something went wrong with that request. Please try again.