GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
params keys are now symbols; adjust calls accordingly
automatthew (author)
Tue Aug 26 07:42:33 -0700 2008
commit  5566c415a22d696b22032dbf59e6268d66d6d596
tree    42f1f43b5ba25f328e2da890c3bb0ea3c86c6fad
parent  55083da593e92c6235c5a9392310f2f384496e47
...
12
13
14
15
 
16
17
18
19
20
21
 
22
23
24
...
12
13
14
 
15
16
17
18
19
20
 
21
22
23
24
0
@@ -12,13 +12,13 @@ module Waves
0
       end
0
       
0
       def resource
0
- params['resource'] || params['resources'].singular
0
+ params[:resource] || params[:resources].singular
0
       rescue NoMethodError
0
         :default
0
       end
0
       
0
       def resources
0
- params['resources'] || params['resource'].plural
0
+ params[:resources] || params[:resource].plural
0
       end
0
       
0
       alias_method :singular, :resource

Comments

    No one has commented yet.