myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3798] branches/packs/config/routes.rb: fixed hom


From: noreply
Subject: [myexperiment-hackers] [3798] branches/packs/config/routes.rb: fixed home page route
Date: Tue, 19 Nov 2013 15:05:47 +0000 (UTC)

Revision
3798
Author
dgc
Date
2013-11-19 15:05:46 +0000 (Tue, 19 Nov 2013)

Log Message

fixed home page route

Modified Paths

Diff

Modified: branches/packs/config/routes.rb (3797 => 3798)


--- branches/packs/config/routes.rb	2013-11-19 14:23:50 UTC (rev 3797)
+++ branches/packs/config/routes.rb	2013-11-19 15:05:46 UTC (rev 3798)
@@ -369,8 +369,8 @@
     :requirements => { :path => /.*/ }
 
   # Home page
-  map.home           '/home',         :conditions => { :method => :get }, :controller => 'home', :action ="" 'show'
-  map.formatted_home '/home.:format', :conditions => { :method => :get }, :controller => 'home', :action ="" 'show'
+  map.home           '/home',         :conditions => { :method => :get }, :controller => 'home', :action ="" 'index'
+  map.formatted_home '/home.:format', :conditions => { :method => :get }, :controller => 'home', :action ="" 'index'
 
   # Install the default route as the lowest priority.
   map.connect ':controller/:action/:id'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]