myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2947] trunk/config/routes.rb: added old route fo


From: noreply
Subject: [myexperiment-hackers] [2947] trunk/config/routes.rb: added old route for creating sessions
Date: Sun, 26 Feb 2012 21:15:50 +0000 (UTC)

Revision
2947
Author
dgc
Date
2012-02-26 21:15:50 +0000 (Sun, 26 Feb 2012)

Log Message

added old route for creating sessions

Modified Paths

Diff

Modified: trunk/config/routes.rb (2946 => 2947)


--- trunk/config/routes.rb	2012-02-25 08:51:45 UTC (rev 2946)
+++ trunk/config/routes.rb	2012-02-26 21:15:50 UTC (rev 2947)
@@ -79,7 +79,7 @@
   map.resources :tags
 
   # sessions and RESTful authentication
-  map.resource :session
+  map.resource :session, :collection => { :create => :post }
   
   # openid authentication
   map.resource :openid, :controller => 'openid'

reply via email to

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