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
app mapping file must do the extend
automatthew (author)
Fri Jul 11 18:50:53 -0700 2008
commit  f8fc5eab8cedde64aef33913913918a0a0a49fb2
tree    4b915f9811373d0a6bd09d1b23526aae9159e0fe
parent  2f7b0fe2eb56289d177820ff41c1273a3c8e03ae
...
3
4
5
 
6
7
8
...
3
4
5
6
7
8
9
0
@@ -3,6 +3,7 @@ module <%= @name %>
0
   module Configurations
0
 
0
     module Mapping
0
+ extend Waves::Mapping
0
       # your custom rules go here
0
       include Waves::Mapping::PrettyUrls::RestRules
0
       include Waves::Mapping::PrettyUrls::GetRules
...
26
27
28
29
30
31
32
33
34
...
26
27
28
 
 
 
29
30
31
0
@@ -26,9 +26,6 @@ module Waves
0
           auto_create_class true, Waves::Configurations::Default
0
           auto_load :Mapping, :directories => [:configurations]
0
           auto_load true, :directories => [:configurations]
0
- auto_eval :Mapping do
0
- extend Waves::Mapping
0
- end
0
         end
0
           
0
         app.auto_create_module( :Resources ) do

Comments

    No one has commented yet.