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
also rack static for images
automatthew (author)
Fri Jul 11 14:02:33 -0700 2008
commit  ff7512ce1bc0cfbff030a3275228da086fde624e
tree    e19b021cf557bf2916aa1ce690cbc4c999bf7f01
parent  827d037b37c634a703937b6cc842242231d617af
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@ module <%= @name %>
0
 
0
       application do
0
         use ::Rack::ShowExceptions
0
- use ::Rack::Static, :urls => [ '/css/', '/javascript/' ], :root => 'public'
0
+ use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/images/' ], :root => 'public'
0
         run ::Waves::Dispatchers::Default.new
0
       end
0
 
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ module <%= @name %>
0
       # handler ::Rack::Handler::Thin, :Host => host, :Port => port
0
 
0
       application do
0
- use ::Rack::Static, :urls => [ '/css/', '/javascript/' ], :root => 'public'
0
+ use ::Rack::Static, :urls => [ '/css/', '/javascript/', '/images/' ], :root => 'public'
0
         run ::Waves::Dispatchers::Default.new
0
       end
0
 

Comments

    No one has commented yet.